Home » Developer & Programmer » JDeveloper, Java & XML » oracle.jdbc.driver.OracleDriver not found
oracle.jdbc.driver.OracleDriver not found [message #216333] Fri, 26 January 2007 10:20 Go to next message
Mariche
Messages: 1
Registered: January 2007
Junior Member
Hi Everybody,

I have one problem.
I made a jar file from my application and I want to execute from the command java -jar Application.jar. But I got an oracle.jdbc.driver.OracleDriver not found.
I put the ojdbc14.jar in the classpath but nothing .. always this f.. problem ..
There is someone who can help me .. please...


Mariche
Re: oracle.jdbc.driver.OracleDriver not found [message #309717 is a reply to message #216333] Fri, 28 March 2008 09:55 Go to previous messageGo to next message
draytsel
Messages: 2
Registered: March 2008
Junior Member
Hi Mariche,

Did u resolve this problem? What was the solution?

I have the same thing here. App works fine, but once I jared it and execute the jar it gives me the oracle.jdbc.driver.OracleDriver not found.
Re: oracle.jdbc.driver.OracleDriver not found [message #309719 is a reply to message #309717] Fri, 28 March 2008 10:12 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Do you have the driver in the cp in the MANIFEST.MF?
Re: oracle.jdbc.driver.OracleDriver not found [message #309724 is a reply to message #309719] Fri, 28 March 2008 10:18 Go to previous message
draytsel
Messages: 2
Registered: March 2008
Junior Member
No. I just learned about the need to specify all jars in CP.
This is very odd, I create my big jar using Eclipse export app to jar feature. Suprisingly the feature doesnt create CP entries in the manifest for internal jars.
Previous Topic: I cant run my jsp file anyone can help thanks
Next Topic: Validate XML against XSD with PLSQL
Goto Forum:
  


Current Time: Thu Mar 28 16:25:41 CDT 2024