help running sqlj

From: fred <alecvb_at_erols.com>
Date: Thu, 20 Jan 2000 12:51:45 GMT
Message-ID: <388704b3.2874074_at_news.erols.com>



I have installed Oracle 8i on Linux 6.0
I have installed Java 166v_5 JDK

I am having trouble compiling and running java files that use oracle class libraries.

I have the bin file of the JDK installation in my path I have set the CLASSPATH variable so that it contains the translator.zip class file

When I try to run a java file that I have compiled (for example, hello.class) I get the message : cannot find class hello when I unset the CLASSPATH variable, then I can run the java class

However, when I try to run the demo files in the sqlj directory that import sqlj classes I get the message:
java.lang.NoClassDeffoundDrror: oracle/sqlj/runtime/Oracle

When I then try to set the CLASSPATH variable to the classs files runtime.zip and classes111.zip (where I thinkthe oracle classes are contained) I again get the message

cannot find class xxxxxxxx

How can I set the CLASSPATH variable so that it finds both the class files needed by the JDK installation and Oracle at the same time?

please help Received on Thu Jan 20 2000 - 13:51:45 CET

Original text of this message