so can java apps be made PortableApps or not. there are portable java apps on here, so how is it done? Angry IP Scanner is switching to Java so i'm just hoping i can support it on here still.
New: KiCad (Mar 25, 2025), Platform 30.0.2 (Mar 27, 2025)
1,100+ portable packages, 1.1 billion downloads
Ad Free! Please donate today
It depends on how the java app is written.
I think it is Firefox that insists on only running a JVM if it can read certain settings from the registry. That's not easy, nor very clean, to hack for a portable launcher.
On the other hand, I've done several that will run with the Java Portabilizer from OOo Portable.
You could look at one of the launchers such as Babiloo Portable to see how I do it.
Frequently if the java app has an .exe file for Windows users, it is just a launcher. So replacing that launcher with an NSIS launcher is not a huge stretch.
Frequently java apps put a settings file in %APPDATA%, but that can be overridden (at least the Java default can) by using -Duser.home=[some other folder] on the javaw command line. If the app itself puts its settings in another location, there might be other stuff to do.
Let me know if you have other questions.
MC
Yes, Java apps can be made portable. Heck, Openoffice.org is written in java. Don't worry.
Use Java Portablizer 1.1 here:
https://portableapps.com/support/openoffice_portable#java
It is used for several Java apps like Frostwire and OpenOffice.org Portable, and will copy the local installation of java to *:\PortableApps\CommonFiles\Java (you need JRE installed on your computer for it to work).
Open Office is written in C++
The "Wizards" in OO are written in Java.
Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!
my mistake. It does require java though, that's why the portablizer is in its support page.
John was on the IRC channel the other day(faints) He told us ('cuz patrick asked), he said it was private info :(.
Contact on the IRC channel.
Insert original signature here with Greasemonkey Script.
If Travis wants to know, I say it's best he asks John, cause I don't know if John minds me telling some of the long-time developers.