[569] in java-interest
Re: HelloWorldApp
daemon@ATHENA.MIT.EDU (Jonathan Payne)
Fri Jun 30 17:54:48 1995
Date: Fri, 30 Jun 1995 14:34:19 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: java-interest@java.Eng.Sun.COM
You were doing fine until you tried to run java with the -classpath
option. I am pretty sure that:
java -classpath <path> ...
is not the same as
setenv CLASSPATH <path>
java ...
because the former replaces the ENTIRE CLASSPATH variable with what
you specified on the command line, and the latter appends your
CLASSPATH to the default system path which points to thinks like class
Thread, which wasn't found in your example.
> From: John Xu <jxu@hamachi.epr.com>
> Date: Fri, 30 Jun 95 14:41:00 P
> Sender: owner-java-interest@java.sun.com
> Precedence: bulk
> X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
> Content-Type: text
> Content-Length: 431
>
> Hi:
>
> I had the HOTJAVA Alpha2 NT release. I compiled HelloWorldApp.java with
> "javac" and produced HelloWorldApp.class. But when I try to run it with
>
> java -classpath "thelocation" HelloWorldApp
>
> It says "Unable to initialize threads"
>
> Anyone has get HelloWorldApp running under NT?
>
> John
>
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-interest-request@java.sun.com
>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com