Javac cannot find SWT library despite correct classpath
Javac cannot find SWT library despite correct classpath I have a Java project that uses SWT and compiles/runs perfectly. When I try to compile via Ant, however, javac cannot find the SWT library despite the build.xml specifying the correct classpath. The SWT library is located in C:my_workEclipse3.6-64plugins . As seen below (under the javac tags, this classpath is specified as such. C:my_workEclipse3.6-64plugins javac build.xml <?xml version="1.0" encoding="UTF-8"?> <project default="run" name="My Project"> <target name="run" depends="compile"> <java classname="com.company.program.project"> <classpath path="staging" location="C:my_workEclipse3.6-64plugins"/> </java> </target> <target name="compile"> <javac includeantruntime="false" srcdir="./src" destdir="staging"> <classpath...