How to Run JAR Files on Android

Use Jre4Android to open and run Java JAR files directly on your Android device.

Download Jre4AndroidView Pro Version

Can Android Run JAR Files?

Android cannot normally run desktop Java JAR files directly. Jre4Android provides a Java runtime environment on Android, so you can launch compatible JAR files from your phone.

Steps to Run a JAR File

  1. Install Jre4Android from Google Play.
  2. Open Jre4Android.
  3. Tap Open JAR File.
  4. Select the .jar file from your device.
  5. Tap Run.
  6. View the output in terminal mode or in a GUI window if it is a Swing app.

What Kind of JAR Files Can I Run?

Common Error: No Main-Class

Some JAR files do not include a Main-Class entry in META-INF/MANIFEST.MF. Without this entry, the runtime may not know which class to launch.

You can use Jar File Opener to inspect the manifest and check whether the JAR contains a valid Main-Class.

Download Jar File Opener on Google Play

Tips

Download Jre4Android

Run Java JAR files on your Android phone or tablet.

Download on Google Play