I have found a neet JAR file app I would like to run from my PortableApps menu instead of navigating to it and "double-clicking".
How would I go about getting an icon on the menu to run the JAR file? (I have chec ked the support page for PortableApps and it only mentions apps that have EXE files.)
(I hope this is the right place to post this. IMHO it is relevant to the PortableApps platform.)
There are a bunch of NSIS "launchers" that work to do exactly what you want. You could look at BabilooPortable. If you install it you will have everything you need to compile it yourself, once you get NSIS and the appropriate plugins and include files. At that point a quick "search and replace" and you could compile a custom launcher for your jar file.
There are other projects around designed to create "launchers" for java applications under Windows. Any of them could probably be made to work to launch the jar, but wouldn't necessarily allow it to integrate into PortableApps the way the NSIS launcher does.
MC
Thank you. It is "back-burner" for now, but I will look into the NSIS launcher route.
You could also try P-Start as a launcher for Your jar file...
just download and put it into PortableApps folder, but..
if You need the runtime and it´s not included/directed to within Your app, it´s better to chose the nsis launcher pointing to the common files/java..as posted above
EDIT: so if you have a standalone java based app, you can use a starter as described for opera@usb here https://portableapps.com/node/10495#comment-61573 or you can make a .bat file with an editor and convert it into an .exe by a bat2exe converter. The .bat should look like this, if you put it into the same folder as the .jar:
Start .\..\..\..\PortableApps\YourAppFolderName\YourApp.jar
Replace YourAppFolderName and YourApp.jar by the real Names
Bat2exe converter link can be taken from here https://portableapps.com/node/11891#comment-69168
"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda
I am somewhat limited in my "developer" skillset, but I have done a bit of work with batch files. I have not yet used a "batch file compiler" so that will be an interesting trip for me.
I think it may be the easiest route for my JS launching trek. I will have to take a look at the JAR file and check if it is stand-alone or not.
Thanks for your suggestions.