Print at Dec 21, 2025, 9:03:53 AM

Posted by Puybaret at Jan 15, 2010, 10:37:26 PM
Re: Eclipse/Ant Build "Failed Build"
Don't be astonished if compilation fails: you must have added @SuppressWarnings("unchecked") annotation in SweetHome3DApplet.java and it's not supported in 1.2 source as reported in error message. Some times warnings are left on purpose...

As written in SweetHome3DApplet javadoc:
The bytecode of this class is Java 1.1 compatible to be able to notify users that it requires Java 5 when it's run under an old JVM.
and again in build.xml:
Compile Sweet Home 3D applets first with javac 1.1 to be able to detect current Java version during applet launch (otherwise Java 1.1 to 1.4 plug-ins refuse to load Applet class)
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator