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.
Just create a Android project in IntellJ, NetBeans or Eclipse, add your jar to the libs directory and write your little Android GUI for it.