JDBC CLASSPATH through Eclipse

Boomn4x4

New Member
I have a Java application utilizing JDBC drivers to interact with an OpenEdge database. When launching the application using my local "java" interpreter, the application works fine. This is due to some external class's that JDBC needs to load the driver. To do so, I have my CLASSPATH environment variable set to:

CLASSPATH=/fiscal/dlc/java/util.jar:/fiscal/dlc/java/base.jar:/fiscal/dlc/java/openedge.jar:/home/mxb931/queue/java

However, now due the the growth of the project, I've moved my development into Eclipse. I've read through the Eclipse documentation, it says to go through, Preferences-> Java -> Build Path -> Classpath Variables... and I added the files util.jar, base.jar, openedge.jar and the directory java (including the full path) and it doesn't work.

Any idea what I may be doing wrong?

I understand this question is better suited for the Eclipse boards, but assuming Eclipse is such a popular platform, I'm hoping someone here has run into similar issues.

Thank you.
 
Issue has been resolved.
Preferences-> Java -> Build Path -> Classpath Variables was not the correct approach.

The correct approach was to:
"Run -> Run Configurations -> Classpath (tab) -> Add External Jars
 
Back
Top