Download Article
Download Article
Java is technically not supported on Android [1] X Research source , meaning that you can't run JAR files or visit websites with Java content. Luckily there are a few ways around these restrictions. This wikiHow article teaches you some walkaround so you can get Java on Android.
Steps
-
Root your phone. Since this method requires to copy file to system directory (which is not possible without root access), you will need to have root access on your phone. Gaining root access is referred to as "rooting" your phone. The process varies from device to device, but this guide will let you know how for the majority of Android devices.
- Note: A Java emulator will not let you view websites built with Java, it will only let you run JAR files. If you want to view websites built with Java, see the next section.
-
Find and download a Java emulator for Android. There are several different Java emulators available, all with strengths and weaknesses. Different emulators will work better for different devices, so it's recommended that you download a couple different emulators. These emulators are not available on the Google Play Store; the APK files will need to be downloaded from the developers' website. Some of the more popular emulators include:
- phoneME
- JBED
- JBlend
- Netmite
Advertisement -
Install and use phoneMe. Download the "phoneMe Feature" APK file from the developer's website. You will also need to download the OpenIntents File Manager APK. Copy both APK files to the root directory of your Android device.
- Run the APK files to install them onto your device.
- Download JADGen on your computer, and then use it to create a JAD file for any JAR files you want to run.
- Copy both the JAR and JAD files into the same folder on your device. Make sure that the JAR file doesn't have any spaces in the filename.
- Run the file by using phoneMe and selecting the file on your device.
-
Install and use JBED. Download the JBED archive file and unzip it on your computer. Copy the APK file to the root directory on your phone, and use ADB to push the libjbedvm.so to the /system/lib directory. Run the APK file to install it on your device.
- You can push the libjbedvm.so file by using ADB and entering adb push / filelocation /libjbedvm.so /system/lib .
- Copy any JAR files you want to run to their own directory on your phone.
- Launch JBED and tap the "Menu" button. Navigate to the location of your JAR files and then select the JAR file you want to run.
-
Install and use JBlend. Download the JBlend archive file and extract the contents. Copy the files onto your phone's storage. Install the Root Explorer application. Open Root Explorer and tap the "r/w" button in the upper corner. Copy the following files to the destination specified:
- ibDxDrmJava.so – /system/lib
- libjbmidpdy.so – /system/lib
- libjbmidp.so – /system/lib
- javax.obex.jar – /system/framework
- MetaMidpPlayer.apk – /system/app
- MidpPlayer.apk – /system/app
- Copy the JAR files that you want to run to your phone's storage. Use JBlend to select the files to load them.
-
Install Netmite. Download the latest release from the Netmite website. Copy the APK file to your phone and then run it to install Netmite.
- Convert JAR/JAD files to APK files using the converter found on the Netmite website.
- Copy the converted APK file onto your phone and run it to install. Repeat this for all the JAR files that you want to run.
- Open Netmite on your phone and use it to select any of your installed JAR files.
Advertisement
-
Install the Chrome Remote Desktop app on your Android device. If you need to access a Java website on the go, the only way to do it is to use a remote desktop app to access another computer. This will allow you to use that computer's browser to load the website.
- Google's Chrome Remote Desktop quickly connects to Chrome on your computer, making it the most pain-free way to set up remote access.
-
Install the Remote Desktop extension on your computer. You will need Google Chrome installed on your computer to use it. The Remote Desktop extension can be installed for free from the Chrome Web Store. Click the Chrome Menu button (☰) and select Tools → Extensions. Click the "Get more extensions" link at the bottom of the page, and then search for "Chrome Remote Desktop".
- After installing the extension, you will need to sign in with your Google account and then click the "Enable remote connections" button.
- You can create a PIN for the connection as an extra layer of security.
-
Launch the Remote Desktop app. Log in with your Google account, and then select your home computer from the list of available connections. Enter in the PIN if you created one, and after a moment your desktop will load.
-
Open the browser on your desktop. Use the Remote Desktop app to launch the web browser on your remote computer. Enter in the address of the Java site you want to visit like you would if you were on your computer. You may notice a delay between when you tap something and when the action occurs. This is caused by the lag between the remote computer and your phone.
Advertisement
Community Q&A
Search
-
QuestionDo I need my computer to be turned on to do Step 2?Community AnswerYes.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
About This Article
Thanks to all authors for creating a page that has been read 729,630 times.
Advertisement