Hello everyone
Although i'm a portable applications fan i'm quite new at this developing stuff. I've found a couple of java applications (simple jar files) which i found interesting. I've been thinking about how I can turn this Java apps into portableapps.com format.
However, I imagine I am not the first who thought in this so I wanted to know how can I do (using the portableapps.com way) to find and load the javaw.exe. Once I get the path the rest is quite easy.
I'm such a newbie in nsis script developing... anyway I wanted to share what i thought of. I've been thinking in storing the javaw.exe path into settings.ini optionally. In case it isn't there i could look for it in $EXEDIR/jre/bin/javaw.exe and, as a last alternative using the env variable.
How do you usually solve this issue? What do you do if java isn't even installed?
It would be great if someone could post a generic nsis script which does something like this...
Thanks for taking the time for reading