Re: Compile OK but not Run

1999-06-19 Thread Anonymous
tinland wrote: > After an installation de jdk1.2 on Linux RedHat 6 > > I can Compile with javac in Xterm windows and i get one file.class > > When i would run this file.class i use "java file.class" and it return this error : > at java.lang.NoClassDefFoundError. > No, no , no. you must call java

Re: Compile OK but not Run

1999-06-19 Thread Anonymous
> After an installation de jdk1.2 on Linux RedHat 6 > > I can Compile with javac in Xterm windows and i get one file.class > > When i would run this file.class i use "java file.class" and it return this error : > at java.lang.NoClassDefFoundError. you have to give like "java file" not "java file

Re: Compile OK but not Run

1999-06-18 Thread Anonymous
try adding . to your classpath ~ Yohans Mendoza [EMAIL PROTECTED] Sirius Images Inc. Unix Administrator http://www2.utep.edu/~yohans ~

Re: Compile OK but not Run

1999-06-18 Thread Anonymous
try "java file" not "java file.class" On Fri, 18 Jun 1999, tinland wrote: > After an installation de jdk1.2 on Linux RedHat 6 > > I can Compile with javac in Xterm windows and i get one file.class > > When i would run this file.class i use "java file.class" and it return this error : > at java

Compile OK but not Run

1999-06-18 Thread Anonymous
After an installation de jdk1.2 on Linux RedHat 6 I can Compile with javac in Xterm windows and i get one file.class When i would run this file.class i use "java file.class" and it return this error : at java.lang.NoClassDefFoundError. Could you help me Thanks Olivier TINLAND French