From owner-freebsd-java Thu Jan 14 10:30:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12913 for freebsd-java-outgoing; Thu, 14 Jan 1999 10:30:51 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from skylink.skylink.net (skylink.skylink.net [206.25.34.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12908 for ; Thu, 14 Jan 1999 10:30:49 -0800 (PST) (envelope-from tmortensen@skylink.net) Received: from tmortensen (hermit.skylink.net [206.25.34.75] (may be forged)) by skylink.skylink.net (8.9.1a/8.9.1) with SMTP id KAA17215; Thu, 14 Jan 1999 10:31:15 GMT From: "Todd Mortensen" To: Cc: Subject: java can't find the classes. Date: Thu, 14 Jan 1999 10:30:25 -0800 Message-ID: <000401be3feb$f454b890$4b2219ce@tmortensen.skylink.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have been beating my head against the wall with this one. I have installed the jdk from the ports collection of a 2.2.8-stable machine. Whenever I try to run any java apps it complains about not being able to find a class file of some type. I have found all the ways of telling it the location of the classes.zip file with no luck at all. Here is a shot of what I have set. bash-2.02$ which java /usr/local/jdk1.1.7/bin/java bash-2.02$ echo $CLASSPATH /usr/local/jdk1.1.7/lib/classes.zip bash-2.02$ cat start #!/bin/sh java -classpath \ /usr/local/jdk1.1.7/lib/classes.zip:/usr/home/power/server_classes \ STServer 10000 9004 bash-2.02$ ./start Unable to initialize threads: cannot find class java/lang/Thread I have read that you shouldn't need the $CLASSPATH enviroment set but that still give the same result. Do I need to unpack the classes.zip file under FreeBSD? Thanks for any feedback. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message