[jsword-devel] Unable to find a javac compiler;com.sun.tools.javac.Main is not on the classpath.

Planckh Michael jsword-devel@crosswire.org
Wed, 16 Apr 2003 17:06:11 +0200


hi,

i was running in the same problem and found a solution which i want to tell you, so you can put it on your server.
insert 

<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/> 

in your build.xml file and make sure to inckude 
org.apache.ant_1.5.1/optional.jar
org.apache.ant_1.5.1/ant.jar
org.apache.xerces_4.0.7/xmlParserAPIs.jar
org.apache.xerces_4.0.7/xercesImpl.jar
in your ANT classpath.maybe you don't need all 4 jar's but it worke this way for me.


regards
michael