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
Joined: Jul 03, 2001
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:
Joined: Sep 07, 2000
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
Joined: Jan 07, 1999
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.