classpath
- From: Frances <fdr58@xxxxxxxxx>
- Date: Fri, 31 Mar 2006 12:54:36 -0500
with Tomcat I have no problems using third-party API's, I just put them in Tomcat/common/lib and include them in the classpath when compiling..
but with a stand-alone I can't get it to work.. I put the two packages in jre/lib and have put command for compiling in a batch file, thus:
javac -classpath c:\j2sdk1.4.2_11\jre\lib\jfreechart-1.0.1.jar;c:\j2sdk1.4.2_11\jre\lib\jcommon-1.0.0.jar;. %1 %2 %3 %4 %5
then to compile I do '<runBatch> myFile.java'
but still java can't find the packages... I don't understand what I'm doing wrong.. I AM importing right packages.. am trying to compile src file I copied verbatim from here:
http://tools.devchannel.org/devtoolschannel/04/03/12/1634222.shtml
would appreciate any help.. thank you..
Frances
.
- Follow-Ups:
- Re: classpath
- From: Frances
- Re: classpath
- Prev by Date: Re: uninstaller missing from add/remove programs for JRE 1.5.0 (winXP)
- Next by Date: Re: classpath
- Previous by thread: uninstaller missing from add/remove programs for JRE 1.5.0 (winXP)
- Next by thread: Re: classpath
- Index(es):
Relevant Pages
|