Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jserver problem on linux

81284Dec 4 2001
I was hoping that someone could help with the following :

I have successfully installed Oracle 8.1.7 onto a linux box
(redhat 7.1).

The problem is that when I place
CLASSPATH=:/orahome/jdbc/lib/classes111.zip; export CLASSPATH
into my .bash_profile, a java error occurs when running a simple
java class

eg

import java.lang.*;

public class test{

public static void main(String[] argv) {
int i = 0;
System.out.println("TEST OUT");
}


}

I then run the commands
>javac test.java
>java test

which produces the error : ClassNotFoundException


note: when I remove the CLASSPATH from the .bash_profile, the
java runs OK

I had installed jdk118_v3 prior to performing this test

- any help would be great

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2002
Added on Dec 4 2001
3 comments
168 views