Skip to Main Content

Java Database Connectivity (JDBC)

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!

java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver

416871Sep 8 2008 — edited Oct 15 2014
Dear All,

I have a JAVA program which connects to Oracle Database. This program was wrote in JDeveloper. In JDeveloper works fine but when I put it on Linux machine I got following error: java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver. I downloaded the OracleJDBC drivers from OTN and uploaded to Linux Box. and set the CLASSPATH env variable. But still the same result. Can somebody help me with this issue, pelase?

Java version:
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
BEA JRockit(R) (build R27.3.1-1_CR336511-87524-1.5.0_11-20070817-1400-linux-ia64, compiled mode)

Best regards,
Michal
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2008
Added on Sep 8 2008
6 comments
5,956 views