Re: "can't find class file java/lang/Thread"

1998-08-26 Thread dan
Yes, the poster, Kenny Freeman, is correct. To run a class HelloWorld, which contains a static method 'main()', you need to type: java HelloWorld As long as the directory '.' is in your classpath, and the file HelloWorld.class is in this directory, and HelloWorld is not a part of a package, thi

Re: "can't find class file java/lang/Thread"

1998-08-26 Thread Michael Sinz
On Wed, 26 Aug 1998 14:05:21 -0400 (CST), Aaron Brick wrote: >my JDK installation seems to be weird. i saw a previous post relevant to >this problem in the archive but the responses i saw weren't helpful. > >when i do "java HelloWorld.class" it complains about not being able to >find the class fi

Re: "can't find class file java/lang/Thread"

1998-08-26 Thread Martin Little
My guess is this, you don't have your classpath set. Make sure you have the following in your CLASSPATH environment variable. Path to the JDK classes. Path to any external jar files you might use (ie swing.jar) Path to your development tree (Ie for me it is the root of my jclass hierarchy) Fi

Re: "can't find class file java/lang/Thread"

1998-08-26 Thread Kenny Freeman
uh, I may be way off on this, but try simply: java HelloWorld You do not include the .class ext. Then, you still have to set the classpath as per the last bunch of posts about it __ Kenny Freeman <[EMAIL PROTECTED]> "Time is the fire in which we burn." - ST Generations ---

"can't find class file java/lang/Thread"

1998-08-26 Thread Aaron Brick
my JDK installation seems to be weird. i saw a previous post relevant to this problem in the archive but the responses i saw weren't helpful. when i do "java HelloWorld.class" it complains about not being able to find the class file - even if i pass the full path - until i do a "-classpath `pwd`"