Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> oracle 8.0.5/linux/jdbc problem

oracle 8.0.5/linux/jdbc problem

From: Amit Aggarwal <aggarwal.amitm_at_kendle.com>
Date: Tue, 05 Jan 1999 14:08:44 -0500
Message-ID: <3692633C.E71EC005@kendle.com>


Hi:

Would appreciate if somebody could help me? I have Oracle 8.0.5 running on Red Hat Linux 5.2 and everything is fine. I also created many java applets and was able to run them through a browser. My problem started when I wanted to use JDBC to access Oracle database from Java applets. As per the instructions, I set the variable CLASSPATH to $ORACLE_HOME/jdbc/lib/classes111.zip. Now, if I try to compile any java program, I get a message: Could not find java/lang/Object in the class path. Compilation failed.

Seems like there is something more needed in the CLASSPATH variable. If I do not set this variable, all the other java applets (not ORacle related) compile and run successfully. But if I do echo $CLASSPATH, it comes as blank. Is there any default CLASSPATH which is used and needs to be added besides the value for ORACLE?

What am I missing?

Thanks.
amit Received on Tue Jan 05 1999 - 13:08:44 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US