From owner-freebsd-java Tue Nov 17 13:04:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13488 for freebsd-java-outgoing; Tue, 17 Nov 1998 13:04:30 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from scorpion.netspace.net.au (scorpion.netspace.net.au [203.10.110.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13482 for ; Tue, 17 Nov 1998 13:04:25 -0800 (PST) (envelope-from graeme@netspace.net.au) Received: from whirlwind.netspace.net.au (whirlwind.netspace.net.au [203.10.110.70]) by scorpion.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id IAA22087; Wed, 18 Nov 1998 08:04:01 +1100 (EST) Received: from netspace.net.au (dialup-t1-153.Melbourne.netspace.net.au [210.15.250.153]) by whirlwind.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id IAA15158; Wed, 18 Nov 1998 08:02:58 +1100 (EST) Message-Id: <199811172102.IAA15158@whirlwind.netspace.net.au> Date: Wed, 18 Nov 1998 08:03:22 +1100 (EST) From: gcross@netspace.net.au Reply-To: gcross@netspace.net.au Subject: Re: Can't find java/lang/Thread? To: nate@mt.sri.com cc: freebsd-java@FreeBSD.ORG In-Reply-To: <199811172052.NAA25581@mt.sri.com> MIME-Version: 1.0 Content-Type: MULTIPART/signed; micalg=pgp-md5; protocol="application/pgp-signature"; BOUNDARY="0-1804289383-911336616=:6523" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0-1804289383-911336616=:6523 Content-Type: TEXT/plain; CHARSET=US-ASCII On 17 Nov, Nate Williams wrote: >> >> I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD >> >> 2.2.7 system and followed the installation instructions as per the >> >> README file. >> >> >> >> But when I run javac or appletviewer, I get: >> >> >> >> [~/source/java]$ /usr/local/jdk1.1.7/bin/javac >> >> Unable to initialize threads: cannot find class java/lang/Thread >> > >> > I'll bet you have another java compiler installed on your system that >> > has the environment screwed up. >> >> No: this is the first Java compiler to be installed on this PC. > > What is the environment variable 'JAVA_HOME' set to? > JAVA_HOME is not expressly set - my understanding was that environment variables such as that were set by the wrappers in jdk1.1.7/bin/*? I have tried setting it, and still see the same problem: [/usr/home/graeme]$ export JAVA_HOME=/usr/local/jdk1.1.7/ [/usr/home/graeme]$ javac Unable to initialize threads: cannot find class java/lang/Thread Cheers Graeme -- Graeme Cross gcross@netspace.net.au --0-1804289383-911336616=:6523 Content-Type: APPLICATION/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBNlHkoMlBq9Wvf+qtAQF0EAQAq8pyA3/TmESEy1o+dsr9QiUwBTBdIMfB +QQ6ohZIWPWIHuD/H0bO4xpqrPChk9pQDc3VczXft8lpegCem0CMY7btUAYdoM64 wfiPA6F+NYGL5d3JeF/4lYk+uhqcjgrZ+Ek6C+S6+4yHIvTDw8gdDZG8UAIV1ToC +xd1hiQrNs4= =fsye -----END PGP MESSAGE----- --0-1804289383-911336616=:6523-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message