| Author |
Jar files not being seen
|
hennie louw
Ranch Hand
Joined: Jul 03, 2001
Posts: 56
|
|
Hi all I've got this little problem I'm writing an app that is using a 3rd party API. This is wath my classpath look like on the system >> C:\j2sdk1.4.0\lib;D:\javaProjects\flashmedia\eC-Linck\libs;D:\javaProjects\flashmedia\eC-Linck\libs\smppapi.jar << Now the 3rd party API is The smppapi.jar file, when I compile i get the following Ok that is what is confusing me, Firstly the API's Jar file is in the class path and also in %JAVA_HOME%\lib directory , so what am i doing worng??? The other wierd thing is that with the jar file mouted in Forte the thing compiles ??? ??? Any help would be great THanks
|
Any Body can be paid to write good code, but brilliant code can only come from passion
|
 |
hennie louw
Ranch Hand
Joined: Jul 03, 2001
Posts: 56
|
|
HI all Dont worry I solved the problem It seems i was useing the CLASS_PATH enviroment varible when I should have been using CLASSPATH Go figure that it could be that simple :roll:
|
 |
Snigdha Solanki
Ranch Hand
Joined: Sep 07, 2000
Posts: 128
|
|
Are you compiling the code using Forte. Most probably the classpath is not getting set. Try setting the classpath explicitly in the compile command and try javac -classpath <path> *.java
|
Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
|
 |
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
|
|
hennie louw wrote: It seems i was useing the CLASS_PATH enviroment varible when I should have been using CLASSPATH Which was the one thing you didn't tell us There's a valuable lesson there about how to present questions if you want help.
|
A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
|
 |
 |
|
|
subject: Jar files not being seen
|
|
|