[3046] in java-interest

home help back first fref pref prev next nref lref last post

java on NT, Can't find class...?

daemon@ATHENA.MIT.EDU (C. Max Chase)
Fri Oct 27 19:15:39 1995

From: "C. Max Chase" <C.Max.Chase@java.sun.com>
To: java-interest@java.sun.com
Date:          Fri, 27 Oct 1995 17:19:02 -0500
Reply-To: mchase@waterw.com

Hi, 

I am very interested in Java and Hotjava and have just loaded Alpha3 
for Win95 and NT (I have NT 3.51). Hotjava runs well and I can run a 
local applet I compiled (Helloworld). 

However, for some reason I can not run an application with plain 
java. It ALWAYS returns the error "Can't find class helloworldapp". 
No matter what I try to do with CLASSPATH or -classpath, or where I 
put the complied class file, etc???  If I use the -verbose switch, 
java indicates that it is loading all the needed classes, EVEN the one 
in question, but when it goes to run it, NO dice.

C:\internet\hotjava\applications\helloworldapp>java -verbose helloworldapp
[Loaded c:\internet\hotjava\classes\java\lang\Thread.class]
[Loaded c:\internet\hotjava\classes\java\lang\Object.class]
[Loaded c:\internet\hotjava\classes\java\lang\Class.class]
[Loaded c:\internet\hotjava\classes\java\lang\NoClassDefFoundException.class]
[Loaded c:\internet\hotjava\classes\java\lang\Exception.class]
[Loaded c:\internet\hotjava\classes\java\lang\OutOfMemoryException.class]
[Loaded .\helloworldapp.class]
Can't find class helloworldapp

I would be VERY grateful if someone could give me a "hint" as to 
what I am doing wrong. I realize, of course, that I will feel VERY 
stupid when I get an answer, but I'm willing to risk it, Java looks 
like it is worth the risk!!!

Thanks,

Max

Max Chase, N2XHF - mchase@waterw.com
7 Reid's Ferry Ct., Medford, NJ 08055
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post