Compiling Textures Library Editor

This topic has been viewed 6056 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
treehousenorris2
Posts: 16
Joined: Mon Sep 14, 2020 8:21 pm
Country: United States

Compiling Textures Library Editor

Post by treehousenorris2 »

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!

Image
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Compiling Textures Library Editor

Post by Puybaret »

In build.xml of Textures Library Editor, you should add the line:

Code: Select all

<pathelement location="../SweetHome3D/libtest/javaAwtDesktop.jar"/>
under the line:

Code: Select all

<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
treehousenorris2
Posts: 16
Joined: Mon Sep 14, 2020 8:21 pm
Country: United States

Re: Compiling Textures Library Editor

Post by treehousenorris2 »

Awesome, adding the path element worked. Thank you!
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest