Print at Dec 16, 2025, 12:45:51 PM View all posts in this thread on one page
Posted by treehousenorris2 at Feb 5, 2021, 7:58:20 PM
Compiling Textures Library Editor
Hello,

I was able to build the Furniture Library Editor using JDK 8 for the SweetHome project jre and the Furniture Editor project jre and the Ant runtime configuration jre, and xml target=1.5.

Now when trying to build the jarExecutable of the Textures Library Editor (with the above java versions) I'm getting a java.awt.desktop package does not exist error, and I see that the Textures Editor README says to use JDK 5 or 6 to build.

The Ant runtime configuration jre says "JRE version less than 1.8 is not supported", and though I changed the Texture Editor and SweetHome project jres from JDK 8 to 5, I am still getting the same error, as seen below.

Some more information on the required desktop version or the SweetHome project version would be helpful. Thank you!



Posted by Puybaret at Feb 5, 2021, 9:23:59 PM
Re: Compiling Textures Library Editor
In build.xml of Textures Library Editor, you should add the line:
<pathelement location="../SweetHome3D/libtest/javaAwtDesktop.jar"/>
under the line:
<pathelement location="../SweetHome3D/libtest/jnlp.jar"/>

or build the project with Sweet Home 3D 6.1 source code as suggested in README.TXT.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by treehousenorris2 at Feb 15, 2021, 5:28:34 PM
Re: Compiling Textures Library Editor
Awesome, adding the path element worked. Thank you!