Jserver problem on linux
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