Date: Wed, 12 Jan 2000 22:31:33 +0100 From: Yoken <yoken42@hotmail.com> To: freebsd-java@freebsd.org, vic@mbfys.kun.nl Subject: jre cannot load class it just loaded Message-ID: <387CF2B5.6A8CB9B@hotmail.com>
next in thread | raw e-mail | index | archive | help
Dear FreeBSD Java mailing list, I seem to have a little argument with jre. It keeps telling me that it cannot load a class file from a jar file, even though it can do so. It seems related to the CLASSPATH setting, but I'm not sure what the problem might be. LikeEver% export CLASSPATH= LikeEver% jre -cp client.jar games.client.GameClient localhost Class not found: games.client.GameClient LikeEver% export CLASSPATH=/usr/local/jdk1.1.8/lib/classes.zip:/usr/local/swing-1.1.1fcs/swingall.jar LikeEver% jre -cp client.jar games.client.GameClient localhost LikeEver% What's more, if I unset the classpath and look at jre -v I get the following: LikeEver% export CLASSPATH= LikeEver% jre -v -cp client.jar games.client.GameClient localhost [Loaded java/lang/Thread.class from /usr/local/jdk1.1.8/lib/classes.zip] ... <snip> ... [Loaded java/lang/Compiler.class from /usr/local/jdk1.1.8/lib/classes.zip] [Loaded games/client/GameClient.class from client.jar] Class not found: games.client.GameClient LikeEver% It loads the class from the jar file, and then turns around and tells me it's not there. %-) Is this FreeBSD specific? Is this a bug? Yours, Kees Jan ---------------------------------------------------------------------- Kees Jan Koster e-mail: dutchman "at" tccn.cs.kun.nl ---------------------------------------------------------------------- Calvin: "Sometimes the world seems like a pretty mean place." Hobbes: "That's why animals are so soft and huggy." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?387CF2B5.6A8CB9B>