Originally Posted by
Big Leon
Guys and Gals,
I'm currently developing an eclipse java project which has to connect to an oracle database. The JDBC driver is attached to the project as a specific location (e.g. C:\project\code\JDBC.zip).
This works fine, however after exporting the project to a .jar file and moving it to a web server the program will not work (because obviously it does not know C:\project\code\JDBC.zip).
Is there any way of specifying that the JDBC driver is stored in a location relative to the other java files? (For example, "\code\JDBC.zip"). I have tried modifying the .classpath file to no avail.
Please help!
Thank you in advance