Daniel Harris wrote:
Dear java-linux group,
Having installed your lovely port of jdk116v2 yesterday I started right
away with alittle project I have been thinking about...I had to do some
packaging and my files are all residing in /usr/local/jdk116v2/classes/
The classpath has been set to /usr/local/jdk116v2 and compiles all used
sources fine...When I come to test it out though I type "java Progress",
java file cannot be found. I tried "java Progress.class", java file
cannot be found...again!
You need to point your classpath to include your current directory.

This means that ./ must be in your classpath

eg. my java classpath reads

./:/usr/java/lib/classes.zip:/usr/local/swing/latest/swingall.jar..............
^^
note the starting ./ path

Terry

-- 
**********************************************************
    Terry Lee                                                   
    Tel (O)     :    (65) 8719 719
    Pager       :    (65) 9 706 4979
    E-mail      :    [EMAIL PROTECTED] 
    ICQ         :    4698075
    Research Biologist
    Centre for Natural Product Research
**********************************************************
 

Reply via email to