From owner-freebsd-java Thu Jan 14 11:46:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26024 for freebsd-java-outgoing; Thu, 14 Jan 1999 11:46:10 -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 LAA26017 for ; Thu, 14 Jan 1999 11:46:09 -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 MAA14466; Thu, 14 Jan 1999 12:45:00 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA06871; Thu, 14 Jan 1999 12:44:59 -0700 Date: Thu, 14 Jan 1999 12:44:59 -0700 Message-Id: <199901141944.MAA06871@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Todd Mortensen" Cc: , Subject: Re: java can't find the classes. In-Reply-To: <000401be3feb$f454b890$4b2219ce@tmortensen.skylink.net> References: <000401be3feb$f454b890$4b2219ce@tmortensen.skylink.net> 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 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. I'm not sure what's going on. I use the code *everyday* on my box, and it works fine. > Do I need to unpack the classes.zip file under FreeBSD? Certainly not. Here's a thought. Can you try a simple 'java' program to see if that works? Also, are you sure the permissions in /usr/local/jdk1.1.7 are correct? Start with something simple before trying the hard stuff. Try the following: public class HelloWorld { public static void main(String args[]) { System.out.println("Hello World"); } } % javac HelloWorld.java % java HelloWorld If that doesn't work, then something is wrong with the installation. If it does work, then I'd guess that the other program you're using was compiled with a different version of Java or something. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message