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.Please advice me.
> I have installed jdk-1.1.6v2 sucsesfully (glibc architecture) on RedHat Linux 5.2
>through
> X windows as root. Without setting CLASSPATH variable in any account it works
>properly.
> Now I want to set CLASSPATH envirenment variable (The reason is I want to set oracle
> classes111.zip). I include this line
>CLASSPATH=/usr/share/jdk-1.1.6v2/lib/classes.zip in
> .bash_profile (in java user account).In this path I can see that this file is
>available.
> Then I relogged with this new profile. I can compile Hello.java but I cannot run it.
> It gives "cannot find hello.class" massage but the hello.class is there.
> Basically when I set CLASSPATH I cannot do anything. If I unsets CLASSPATH it works.
> Please help me.
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]