Re: CLASHES IN CLASSPATH

1999-05-26 Thread Emilian URSU
yeah sure thanks for teaching me kid On Wed, 26 May 1999, Victor Cruceru wrote: > > Hi. > I suggest not to call java(or jre) with a class name ending with ".class". > (i.e, if you have a class file named "Hello.class" run it with > $ java Hello > not with > $ java Hello.class > ) >

Re: CLASHES IN CLASSPATH

1999-05-26 Thread bill . wandrack
make sure that you add . to your classpath eg. CLASSPATH=.:/usr/share/jdk-1.1.6v2/lib/claases.zip This way java will look in the current directory first. > Anupama Jayathilake wrote: > > I got a problem.Please advice me. > I have installed jdk-1.1.6v2 sucsesfully (glibc architecture) on > Re

Re: CLASHES IN CLASSPATH

1999-05-26 Thread Steve Nguyen
If you don't set casspath, .java_wrapper will auto find the classes.zip itself and you could run hello.class because your current dir contains it; if you do then they assume that every classes should be included in classpath; solution: if you do set classpath then use --classpath $CLASSPAT

Re: CLASHES IN CLASSPATH

1999-05-26 Thread Emilian URSU
I think java it's looking for your *.class in the directories included in your CLASSPATH try to set CLASSPATH=/usr/share/jdk-1.1.6v2/lib/classes111.zip:. '.' is for java to look for your classes in your working directory On Wed, 26 May 1999, Anupama Jayathilake wrote: > I got a problem.Pl