In the documentation, I think it's mentioned that we can just run the TLE & FLE JARs from the Portable SH3D's own Java Files in it's own jre Directory.
I can't figure out how to set this up so I can run the TLE or FLE jar files from the files in the jre folder.
I'm running win10pro
The only executables with the java program Icon I found in the jre/windows/x64/jre8/bin were the javaw.exe
I tried simply dragging & dropping the jar to that and every other exe file in the bin, but nothing happened.
I currently have jportable in the Portable SH3D directory along with the Portable Launcher, but I'd like to try and see if there is a way to launch them directly without those, by using only the files in jre/windows/x64/jre8/bin
Additionally, I'm curious if the Portable SH3D Executable is just a Natively packaged Java File.
Thanks for any help
Using SH3D Portable's Java Files to Run the TLE & FLE
This topic has been viewed 5776 times and has 7 replies
Re: Using SH3D Portable's Java Files to Run the TLE & FLE
The command to run a JAR file is:
(you may also use [font=courier new]javaw.exe[/font])
Code: Select all
path/to/java.exe -jar executable.jarEmmanuel Puybaret, Sweet Home 3D creator
Re: Using SH3D Portable's Java Files to Run the TLE & FLE
How can I add that to the launch parameters of the jar?
and will it be dynamic, if the drive letter changes?
and will it be dynamic, if the drive letter changes?
Re: Using SH3D Portable's Java Files to Run the TLE & FLE
And when you say "I may use javaw.exe", what does that mean? How do I use it to make it do something.
Re: Using SH3D Portable's Java Files to Run the TLE & FLE
I'm not sure you can change the launch parameters if java is not installed.
If you want to reuse the command you should rather store it in a .BAT file.
If you want to reuse the command you should rather store it in a .BAT file.
Simply replace [font=courier new]java.exe[/font] by [font=courier new]javaw.exe[/font] in the command I wrote.And when you say "I may use javaw.exe", what does that mean?
Emmanuel Puybaret, Sweet Home 3D creator
Re: Using SH3D Portable's Java Files to Run the TLE & FLE
would the batch file just look like this?
"E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/jre/windows/x64/jre8/bin/java.exe" -jar "E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/FurnitureLibraryEditor-1.25.jar"
that didn't work for me
"E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/jre/windows/x64/jre8/bin/java.exe" -jar "E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/FurnitureLibraryEditor-1.25.jar"
that didn't work for me
Re: Using SH3D Portable's Java Files to Run the TLE & FLE
Except I used javaw.exe, as there is no java.exe in that folder
Re: Using SH3D Portable's Java Files to Run the TLE & FLE
Sorry, you need an edit button. The entire Bat file looked like this:
Run "E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/jre/windows/x64/jre8/bin/javaw.exe" -jar "E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/FurnitureLibraryEditor-1.25.jar"
that didn't work for me
Run "E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/jre/windows/x64/jre8/bin/javaw.exe" -jar "E:/Portable Programs/3D Programs/SweetHome3D-6.3-portable/FurnitureLibraryEditor-1.25.jar"
that didn't work for me
Who is online
Users browsing this forum: No registered users and 1 guest