Re: Problem : can't find class

1999-02-14 Thread Christopher Rowan
Common mistake. You need to have . (current directory) in your PATH. See the leading dot on the example below: CLASSPATH=.:/usr/local/java/lib/classes.zip:/usr/local/java/jsdk/lib/jsdk.jar Vinay Pai wrote: > > Hello, > > I am having the following problem when I try to execute a java progra

Re: Problem : can't find class

1999-02-14 Thread Chris Huebsch
Hello, try adding a "." to the classpath. CLASSPATH=.:/usr/local/java/lib/classes.zip:/usr/local/java/jsdk/lib/jsdk.jar Chris Vinay Pai wrote: > > Hello, > > I am having the following problem when I try to execute a java program , > says : > can't find class test ... > The classpath variab

Problem : can't find class

1999-02-14 Thread Vinay Pai
Hello, I am having the following problem when I try to execute a java program , says : can't find class test This happens although the file test.class and test.java are in the same directory from where I am executing java. I am however able to compile java programs without any problems. Also I c