|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Eclipse/Ant Build "Failed Build" » » » » Post: Eclipse/Ant Build "Failed Build" |
Print at Dec 21, 2025, 10:26:47 AM |
| Posted by Ensoniq at Jan 15, 2010, 12:30:56 AM |
|
Eclipse/Ant Build "Failed Build" Hi. I'm pretty new to this but eager to learn, so I'm hoping this doesn't come of as a stupid Q. And hopefully someone on here has an answer. I've been trying to build Sweethome 3D using Eclipse and the Build.xml but have run into some minor issues. First I get this ----------------------------------------- ..\workspace\SweetHome3D\build.xml:40: 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. It is currently set to "C:\Program Files\Java\jre6" ------------------------------------------------------------- I added tools.jar from jdk 1.6.0_17 to the Ant runtime classpath and sure enough that worked.(probably the wrong way to go about it) Then this when building src\com\eteks\sweethome3d\applet\SweetHome3DApplet.java using Ant and the Build.xml --------------------------------------------------------------- :231: annotations are not supported in -source 1.3 [javac] (use -source 5 or higher to enable annotations) [javac] @SuppressWarnings("unchecked") [javac] ^ [javac] 1 error ---------------------------------------------------------------- If anyone can help I'ts greatly appreciated. Thanks. ![]() |
|
|
Current timezone is GMT Dec 21, 2025, 10:26:47 AM |