Forums Register Login

ClassNotFoundException - Oracle Driver

+Pie Number of slices to send: Send
I have place the oracle driver at E:\Java\jdk1.5.0_02\jre\lib\ext\ojdbc14.zip

but when i am executing the java file for oracel conneciton then oracle.jdbc.OracleDriver ClassNotFoundException exception is throwing
i am not able to connect to database.

If i set the oracle drive location to CLASSPATH then it is working, but i have heard that if we place the oracle driver or mysql driver at jre\lib\ext\ then it automatically place to java claspath

help me soon
+Pie Number of slices to send: Send
Probably u must unpack zip? ;-)
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1193 times.
Similar Threads
jdbc mysql --- ClassNotFoundException problem ... please help
Accessing database through JSP
MY SQL database connectivity
Attachment functionality is not working when project is running on oracle10g
Help with java mail.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:06:58.