Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-21-2008, 03:13 PM
Member
 
Join Date: Mar 2008
Posts: 4
haneeshrawther is on a distinguished road
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
I tried to execute a basic jsp program that contains jdbc connectivity.
I also tried reading of an xml file is in this same program. that will execute and getting result properly. But during the execution of Class.forName() it will produce a runtime error that is "java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver"
Here i am including classpath value also
"%path%;%ORACLE_HOME%;%ORACLE_HOME%\BIN;%ORACLE_HO ME%\jre\1.4.2\bin\client;%ORACLE_HOME%\jre\1.4.2\b in;%ORACLE_HOME%\jdbc\lib\classes12.jar;%ORACLE_HO ME%\jdbc\lib\classes12.zip;%ORACLE_HOME%\jdbc\lib\ nls_charset12.jar;%ORACLE_HOME%/jdbc/doc/javadoc.tar;%ORACLE_HOME%\jdbc\lib\ojdbc14.jarC:\j 2sdk1.4.1_02\bin;C:\Tomcat5.0\bin;C:\Tomcat5.0\com mon\lib\servlet-api.jar;C:\Tomcat5.0\common\lib\jsp-api.jar;C:\Program Files\Sybase\Shared\PowerBuilder\pbjdbc1290.jar;C: \Program Files\Sybase\Shared\PowerBuilder\pbejbclient90.jar ;"

My ORACLE_HOME is "D:\oracle\product\10.1.0\Db_1"

Please give me a solution to run this program.
Thank you in Advance.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
failure at Class.forName("oracle.jdbc.driver.OracleDriver"); RonNYC Eclipse 1 03-14-2008 04:51 PM
Jdbc Driver For Oracle Swamipsn New To Java 0 08-14-2007 06:31 AM
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver ljustiniano New To Java 4 08-06-2007 07:30 PM
ClassNotFoundException com.mysql.jdbc.Driver Heather Database 2 06-30-2007 04:42 PM
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver Marcus Database 1 06-27-2007 07:57 PM


All times are GMT +3. The time now is 10:50 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org