Steve wrote:

>  I need some help configuring my classpath.I can javac on file it
> works fine ie:javac hello.javathis creates the .class file.  Then when
> I try and runjava hellothe error I get is:can't find class helloI can
> see the hello.class file!? Here is a listing of my current classpath
> 
>settings:...CLASSPATH=/usr/lib/jdk-1.1.5/lib/classes.zip......JAVA_HOME=/usr/lib/jdk-1.1.5JDK_HOME=/usr/lib/jdk-1.1.5......all
> of these locations are correct...what else could it be?I have set java
> up on a number of platforms and all of this appears to be
> correct...~shrug~... [EMAIL PROTECTED]

 Several other people have already mentioned this but I can see clearly
in your e-mail that you do not have a "." in your classpath.  The "."
would indicate to also look in your current directory for classes.  You
can probable see an example of this by checking you PATH variable in
your environment, as in "echo $PATH".

Hope this helps.

--
K.R. Foley
CyberSoft Solutions, Inc.
[EMAIL PROTECTED]



Reply via email to