You only need a HTTP server like Apache. But you can also use Tomcat, since it handles also requests to static content.
First, download source code of the latest version.
Then, from the README.TXT file it contains, you'll have to:
- download and install last JDK 6,
- download and install Ant,
- run the following Java command in the directory where you uncompressed the archive of the source code:
(keytool is a command of the JDK, if system doesn't recognize keytool, give the full path of keytool or change system PATH)
- run "ant" command in the directory where you uncompressed the archive of the source code. The default javaWebStart target will create signed jars in deploy/lib subdirectory.
- edit deploy/SweetHome3D.jnlp file and change the value of the codebase attribute at line 3 to the URL base where you want to host your version of Sweet Home 3D.
- upload the content of deploy directory on your server in a directory matching this URL base.
Your Java Web Start version of Sweet Home 3D is ready. [:D]
Any one can help me?
I create keytool to keys.keytool. but when i run command "ant applet" so system required file keys.p12 . How can i do correctly?
Thank you!
I created p12 file successfully and putted it in SweetHome3D directory.
I changed base code to current server too.
I runned "ant applet" command on the next step.
But when i started applet, the Publisher name was being still "UNKNOWN" . What wrong in my steps?
Must I import certificate key (p12 file) into client certificate System? I don't want to do that.
When i changed jnlp file successful, i got this message when start applet :
java.lang.NullPointerException
at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error while initializing manager: java.lang.NullPointerException, bail out