CLASSPATH variable [message #759664] |
Tue, 29 November 2011 09:46  |
Eclipse User |
|
|
|
How to I include a CLASSPATH variable into eclipse?
When I run my Java application through Linux using "java MyClass.class", with the environment:
"CLASSPATH=/fiscal/dlc/java/util.jar:/fiscal/dlc/java/base.jar:/fiscal/dlc/java/openedge.jar:/home/mxb931/queue/java"
My application executes fine through the terminal.
However, when I try to do it through eclipse, it isn't bringing in those packages (for JDBC communication)
I've read through the 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.
What am I doing wrong?
[Updated on: Tue, 29 November 2011 10:07] by Moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08739 seconds