Hey guys,
Got a question surrounding classpaths.
I have created a program that depends on the oracle
JDBC driver, I have built it in Eclipse and added ojdbc14.jar to the build path. However when I want to run it from the command prompt it says it can’t find the oracledatasource (due to it not being in the classpath).
How do I add the ojdbc14.jar to the classpath on the command line so my runnable jar will work?
I have tried SET CLASSPATH=<dir> and when I type Set Classpath it actually comes up with the ojdbc.jar file however it still doesn’t run.
Cheers
Will