Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 1996 10:24:30 -0400 (EDT)
From:      Richard Toren <rpt@sso.wdl.lmco.com>
To:        hackers <hackers@FreeBSD.org>
Subject:   Re: Netscape 3.0 release
Message-ID:  <Pine.SUN.3.91.961006101100.8929A-100000@miles>

next in thread | raw e-mail | index | archive | help
OK Folks,
  There must be someone out there who does have this puppy working.
Lets start from a common baseline of information:

product:netscape-v30-export.x86-unknown-bsd.tar.gz
Xserver: XF86
OS:      FreeBSD 2.1.0-RELEASE 
Execution: /usr/local/bin/netscape =
    #!/bin/sh 
    export XKEYSYMDB ; XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
    export XNLSPATH  ; XNLSPATH=/usr/X11R6/lib/X11/nls
    export XAPPLRESDIR ; XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
    export CLASSPATH ; CLASSPATH=/usr/local/lib/netscape
    exec /u2/local/src/netscape30R/netscape $*

Results:
  running 'ktrace netscape -java sun.tools.javac.Main Test.java'
  results in the partial series of:

   264 netscape CALL  stat(0x4aa980,0xefbfbee0)
   264 netscape NAMI  "."
   264 netscape RET   stat 0
   264 netscape CALL  stat(0x4aa982,0xefbfbee0)
   264 netscape NAMI  "classes"
   264 netscape RET   stat -1 errno 2 No such file or directory
   264 netscape CALL  open(0xefbfbf54,0x4,0x1a4)
   264 netscape NAMI  "./java/lang/Thread.class"
   264 netscape RET   open -1 errno 2 No such file or directory
   264 netscape CALL  open(0xefbfbf54,0x4,0x1a4)
   264 netscape NAMI  "classes/java/lang/Thread.class"
   264 netscape RET   open -1 errno 2 No such file or directory
   264 netscape CALL  write(0x2,0xefbfba24,0x41)
   264 netscape GIO   fd 2 wrote 65 bytes
       "Unable to initialize threads: cannot find class java/lang/Thread
       "
   264 netscape RET   write 65/0x41
   264 netscape CALL  exit(0x1)

   without ever making a getenv call for anything. This looks like a 
hardcoded search order, regardless of the environment.

   And searching for all the java files in /usr/local I have scattered 
about trying to get this to work gives:

</usr/local># find . -name "java*" -ls
  9360 1440 -r--r--r--    1 root     bin        723652 Oct  4 08:58 
./lib/netscape/java_30
  9352 1440 -rw-r--r--    1 bin      bin        723022 Aug  8 23:08 
./lib/netscape/java_30.306b
 35824    4 drwxrwxr-x    3 root     wheel         512 Oct  6 09:51 
./netscape/java
 35826 1440 -r--r--r--    1 root     wheel      723652 Oct  6 09:52 
./netscape/java/classes/java_30

Now what is different for someone who has this puppy running sucessfuly?

                         ====================================================
Rip Toren               | The bad news is that C++ is not an object-oriented |
rpt@sso.wdl.lmco.com    | programming language. .... The good news is that   |
                        | C++ supports object-oriented programming.          |
                        |    C++ Programming & Fundamental Concepts          |
                        |     by Anderson & Heinze                           |
                         ====================================================




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.961006101100.8929A-100000>