Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: J2SDK no longer functions after Oracle installation
do 'which java' and check if it's the correct java version you're calling -
most probably
a lower version runtime has put itself in front of jsdk 1.4. Classes
compiled with a newer
java compiler will give about the same error on an older jre.
"Jane O" <janeohin_at_aol.com> wrote in message
news:bcl1n5$hs3$2_at_reader1.panix.com...
> 9iR2/RH8-Linux,
>
> java sdk 1.4 stopped working AFTER Oracle 9i installation :
>
> javac works but when I run:
>
> $ java Hello
> ---- I get the error below
> Exception in thread "main" java.lang.NoClassDefFoundError: Hello
>
> ("Hello.class" is the simpliest "Hello world !" program calling-
> System.out.println)
>
> I read about the error on Sun's site &
> I tried using the -CLASSPATH option, listing FULLPATH of the .jar files
> ...still no luck, re-install SDK...no luck
>
> any ideas, please ?
>
> jane
>
>
>
Received on Mon Jun 16 2003 - 13:49:06 CDT