I would like to run a .jar file on my Samsung Galaxy S5. I expect that it requires an app, but I can't find such app anywhere. What app would be great to emulate .jar files, preferably without .jar size limit?
Even though Android uses Java, it does not support executing JAR files on Android devices. However, you can use emulators to do this which are not available on Google Play Store but are available from the developers' website. I have provided the source link and download instructions are available there.
Features of phoneME:
- phoneME for Windows CE/Mobile and Android is an implementation of the phoneME open source J2ME application platform for your Windows Mobile phone or Android handheld device.
- Each build includes the phoneME VM and an Android frontend wrapper with JNI bindings to the VM.
- Most powerful, smooth user experience, less crashes.
- JAD files are also associated with the Foundation Profile-MIDP Android application. Therefore, you can also use your browser to select an online JAD file to download and run the midlet. If you click on a JAD download link, a popup menu will appear and you need to choose the Foundation Profile-MIDP Android application
- No root access required.
Features of Netmite App Runner:
- This is the most popular application to run Java apps and games (J2ME/MIDP – jar/jad) app on Android OS.
- This application has App Explorer, which helps to find existing Java apps and games on your phone/tablet device.
- It is integrated with Browser-Browse any j2me site, click to run any jad/jar file.
- It can auto-convert J2ME into Android package (apk) on the fly.
- You can immediately port your existing Java apps (jar/jad) to Android WITHOUT source code.
- JBED is also a very good Java/J2ME Emulator for Android.
- It is fast but has some issue like – screen got hazy on landscape mode, unexpected force close.
- It has built in app explorer.
- JBlend is very Similar to JBED and much better.
- It’s smooth and never crashes.
- Support most Java apps / games
Important! It's possible that not all emulators will work for your devices. Each emulator has different features. You have the option to try different emulators, and decide which one you want to use.
So, just to keep this updated with something that wasn't supposed to run on 2.2.. And just because I think it's a shame that tons of project went wasted because they weren't open source
This is what I would recommend to try in 2019 (in no special order)
- phoneME (again, but it was tentatively fixed for newer OS versions)
- J2ME Loader (it seems the most actively supported and promising)
- MicroEmu (this should be more about converting applets into apks technically)
- SquirrelJME (AFAIK the dev should be in the process of wiring Android support)
Of course all of these are targeting the limited mobile J2ME, rather than the desktop J2SE (I wonder why nobody still thought to that)