Portable version of Sweet Home 3D
This topic has been viewed 108208 times and has 32 replies
Re: Portable version
Ce dossier ne contient que des fichiers temporaires qu'un bug dans la version de Java pour Windows empêche de supprimer à la fin du programme. Contourner ce bug qu'Oracle n'a pas l'air enclin à corriger est faisable sous Java 7 et beaucoup plus compliqué sous Java 6. Donc il faudra patienter encore quelques temps...
Emmanuel Puybaret, Sweet Home 3D creator
Re: Portable version
In the version 4.1 (119 MB), I found a way to delete the work folder and the temporary files it contains when the program ends normally, under Java 7 as well as in previous Java versions.
supseb, I hope this time you'll agree to qualify the new version as portable, even if the work folder will still be there after a program crash.
supseb, I hope this time you'll agree to qualify the new version as portable, even if the work folder will still be there after a program crash.
Emmanuel Puybaret, Sweet Home 3D creator
Re: Portable version
Thanks a lot !
But (sorry for that), isn't it possible to move this work folder in the same directory as SweetHome ?
I'll post this new in the Liberkey forum.
But (sorry for that), isn't it possible to move this work folder in the same directory as SweetHome ?
I'll post this new in the Liberkey forum.
Re: Portable version
I chose to create by default the work folder in user home folder for performance reasons. Very often, portable versions are run on a USB key with poor performances at writing time.isn't it possible to move this work folder in the same directory as SweetHome ?
Nevertheless if you absolutely want to move this work folder in the folder where portable executables are found, you should make the following changes:
- under Windows, add to the portable version installation folder the two files SweetHome3D-windows-x86.l4j.ini and SweetHome3D-windows-x64.l4j.ini containing the following text:
Code: Select all
-Dcom.eteks.sweethome3d.tools.temporarySubFolder="%EXEDIR%\work"Code: Select all
<key>com.eteks.sweethome3d.tools.temporarySubFolder</key>
<string>$APP_PACKAGE/../work</string>
Code: Select all
<key>com.eteks.sweethome3d.deploymentInformation</key>- under Linux, edit the command files SweetHome3D-linux-x86 and SweetHome3D-linux-x64 and add the following text between java and -Xmx option:
Code: Select all
-Dcom.eteks.sweethome3d.tools.temporarySubFolder="$PROGRAM_DIR"/workEmmanuel Puybaret, Sweet Home 3D creator
Re: Portable version
Thanks a lot for your response, it helps me a lot !
Re: Portable version
I have one more question about adding a plugin to the portable version.
Do I just need to put the executable jar file of the plugin into the data/plugins directory?
Do I just need to put the executable jar file of the plugin into the data/plugins directory?
Re: Portable version
YesDo I just need to put the executable jar file of the plugin into the data/plugins directory?
Emmanuel Puybaret, Sweet Home 3D creator
Re: Portable version
ok. thank you for the reply. didn't worked this morning, but I will try again. 
Re: Portable version
Hi again,
I created 2 small plug-ins.
If I open them with the executable jar file of SH3D from inside eclipse everything works fine.
But if I put the jar files in the data/plugins folder of the portable version, SH3D freezes and doesn't open up.
If I take the jar files out of the folder again, the portable version opens up again.
What could that be?
I created 2 small plug-ins.
If I open them with the executable jar file of SH3D from inside eclipse everything works fine.
But if I put the jar files in the data/plugins folder of the portable version, SH3D freezes and doesn't open up.
If I take the jar files out of the folder again, the portable version opens up again.
What could that be?
Re: Portable version
What do you mean by "freezes"? Do you see only the splash screen?
I tried again on my side and it worked with no problem.
I tried again on my side and it worked with no problem.
Emmanuel Puybaret, Sweet Home 3D creator
Who is online
Users browsing this forum: No registered users and 1 guest