ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Solari <sol...@auto.ucl.ac.be>
Subject How do I configure ant for the sources of Thinking in Java's book?
Date Fri, 30 Apr 2004 15:26:14 GMT
I have the sources from Thinking in Java's book written by Bruce Eckels 
and I've used the Eclipse editor to run some classes. The question is 
how to include and build the classes that come with these sources inside 
Eclipse?. I've tried to used the External tool from Eclipse but it 
didn't work. The error that I have is

JDK.version.check:
      [javac] Compiling 1 source file
      [javac] BUILD FAILED: file:C:/Program 
Files/eclipse/plugins/Code/c02/build.xml:31: Unable to find a javac 
compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

I know that I have to set the CLASSPATH but I don't know how. It is 
clear that Java doesn't recognize the path indicated by the .xml file. 
So, could you explain me which CLASSPATH file update and how must I 
accomplish the task.
Regards,

Gabriel

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message