From owner-freebsd-java Tue Nov 17 13:07:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14243 for freebsd-java-outgoing; Tue, 17 Nov 1998 13:07:49 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14210 for ; Tue, 17 Nov 1998 13:07:39 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA24426; Tue, 17 Nov 1998 14:07:12 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA25676; Tue, 17 Nov 1998 14:07:12 -0700 Date: Tue, 17 Nov 1998 14:07:12 -0700 Message-Id: <199811172107.OAA25676@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gcross@netspace.net.au Cc: nate@mt.sri.com, freebsd-java@FreeBSD.ORG Subject: Re: Can't find java/lang/Thread? In-Reply-To: <199811172102.IAA15158@whirlwind.netspace.net.au> References: <199811172052.NAA25581@mt.sri.com> <199811172102.IAA15158@whirlwind.netspace.net.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> >> 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/*? Hmmm, you got me. It works for me *right now* on my box since I'm 'eating my own code' and using the same binaries on my box as I distributed. You can try backing up to an earlier release, but I doubt it will change things. I have no idea why it's not working. If you want to give me an account on the box I can try and see if I can figure it out. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message