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
> )
> 
> On the other hand, the advice below (quoted) to put your current folder
> into your CLASSPATH is correct.
> After reassigning the CLASSPATH, don't forget to export it:
> $ export CLASSPATH
> Also, you may use java with --classpath option.
> 
> On Wed, 26 May 1999, Emilian URSU wrote:
> 
> > 
> > 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]
> > 
> 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to