From owner-freebsd-questions Sat Jan 11 22:24:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id WAA12580 for questions-outgoing; Sat, 11 Jan 1997 22:24:07 -0800 (PST) Received: from rhiannon.clari.net.au (dns1.clari.net.au [203.27.85.9]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id WAA12569 for ; Sat, 11 Jan 1997 22:24:01 -0800 (PST) Received: (from peter@localhost) by rhiannon.clari.net.au (8.7.5/8.6.12) id RAA22722; Sun, 12 Jan 1997 17:26:19 +1100 (EST) Date: Sun, 12 Jan 1997 17:26:19 +1100 (EST) From: Peter Hawkins Message-Id: <199701120626.RAA22722@rhiannon.clari.net.au> To: smpatel@umiacs.umd.edu Subject: Freebsd javac Cc: freebsd-questions@freebsd.org Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm having problems jetting javac to run. in /usr/local/share/java I have COPYRIGHT and classes.zip and lib /usr/local/bin/javac is: #!/bin/sh export CLASSPATH=/usr/local/share/java/classes.zip export JAVA_HOME=/usr/local/share/java/ exec /usr/local/lib/netscape/netscape.bin -java sun.tools.javac.Main $* any attempt to run javac (which is running netscape 3.01 gold) results in: Unable to initialize threads: cannot find class java/lang/Thread Not surprisingly I can eliminate this error if I cd into /usr/local/share/java and unzip classes.zip then run javac (it then finds java/lang/Thread.class) *but* then if I place a t.java file (simple hello world program) in /usr/local/share/java/ then do a javac t.java in that directory, netscape runs and there is no output (even with -verbose) until I typed ^C after 6 1/2 minutes. a top indicates that netscape is using 95% of a P133 with 32MB so it should have done *something*. I can't think what more to try (even running netscape.bin from the commandline with a -classpath /usr/local/share/java didn't help! Any thoughts? Peter