How to Get Java for Android: 10 Steps (with Pictures)

Table of contents:

How to Get Java for Android: 10 Steps (with Pictures)
How to Get Java for Android: 10 Steps (with Pictures)

Video: How to Get Java for Android: 10 Steps (with Pictures)

Video: How to Get Java for Android: 10 Steps (with Pictures)
Video: Samsung Galaxy S5: How to Calibrate Gyroscope Sensor With Selftest 2024, December
Anonim

Technically, Java is not supported by Android,, so you cannot run JAR files or visit sites that have Java content. Fortunately, there are several ways to get past those limitations, depending on what you want to do. If you want to run JAR files on your phone, you'll need to gain root access and install an emulator. If you want to view a site that has Java content, you will have to use a remote desktop solution to access the site with a desktop browser. See Step 1 below to learn how to do both.

Step

Method 1 of 2: Using the Emulator

Get Java on Android Step 1
Get Java on Android Step 1

Step 1. Root the phone

Since this method requires access to copy files into the system directory (which is impossible without root access), you will need root access on your phone. The process to gain root access is known as rooting the phone. The process for doing this is different for each device, but this guide will tell you how to do it on most Android devices.

Note: The Java emulator does not allow you to view sites created with Java. Java emulator only helps you to run JAR files

Get Java on Android Step 2
Get Java on Android Step 2

Step 2. Find and download a Java emulator for Android

There are several types of Java emulators available, each with advantages and disadvantages. Different emulators work better for different devices, so it is recommended that you download several different emulators. The Java emulator is not available on the Google Play Store; The emulator APK file must be downloaded from the developer's site. Here are some well-known emulators:

  • phoneME
  • JBED
  • JBlend
  • Netmite
Get Java on Android Step 3
Get Java on Android Step 3

Step 3. Install and use phoneMe

Download the "phoneMe Feature" file from the developer's site. You should also download the OpenIntents File manager APK. Copy both APKs into the root directory of the Android device.

  • Run the APK file to install the program onto the device.
  • Download JADGen on your computer, then use the program to create a JAD file that is used for whatever JAR file you want to run.
  • Copy the JAR and JAD files into the same directory on the device. Make sure there are no spaces in the JAR file name.
  • Open the phoneMe app, then select and run the file on your device.
Get Java on Android Step 4
Get Java on Android Step 4

Step 4. Install and use JBED

Download the archive file, then unzip it to extract the files on it to your computer. Copy the APK file into the root directory on your phone, then use ADB to push the libjbedvm.so file into the /system/lib directory. Run the "APK file" to install the app into the device.

  • You can push the libjbedvm.so file using ADB by going to adb push /filelocation/libjbedvm.so /system/lib.
  • Copy any JAR files you want to run into their own directory on your phone.
  • Launch JBED, then tap the "Menu" button. Move to the location of the JAR file, then select the JAR file you want to run.
Get Java on Android Step 5
Get Java on Android Step 5

Step 5. Install and use JBLend

Download the JBLend archive file and extract the contents of the archive by extracting it. Copy the files and paste them into the phone storage space. Install the Root Explorer application. Open Root Explorer, then tap the "r/w" button in the top corner. Copy the following files into the listed directory:

  • 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 file you want to run into your phone's storage space. Use JBlend to select the file and load it.
Get Java on Android Step 6
Get Java on Android Step 6

Step 6. Install Netmite

Download the latest version of Netmite from the site. Copy the Netmite APK file to your phone, then run the APK to install Netmite.

  • Convert the JAR/JAD file using the conversion program obtained from the Netmite site.
  • Copy the APK file obtained from the conversion process into your phone, then run it to install it. Repeat this step for all the JAR files that you want to run.
  • Open Netmite on your phone and select the installed JAR file.

Method 2 of 2: Using Remote Desktop

Get Java on Android Step 7
Get Java on Android Step 7

Step 1. Install the Chrome Remote Desktop app on the Android device

If you need to directly access the Java site, the only way you can do this is by using a remote desktop application to access other computers. With this application, you can use your computer's browser to load sites.

Google's Chrome Remote Desktop connects with Chrome on your computer quickly, making it the best choice for setting up remote access

Get Java on Android Step 8
Get Java on Android Step 8

Step 2. Install the Remote Desktop extension on the computer

You need Google Chrome installed on your computer to use Chrome Remote Desktop. The Remote Desktop extension can be installed for free via the Chrome Web Store. Click the Chrome menu button (☰), then select Tools → Extensions. Click the "Get more extensions" link at the bottom of the page, then search for "Chrome Remote Desktop".

  • After installing the extension, you need to log in with your Google account and click on the "Enable remote connections" button.
  • You can create a PIN to establish a connection as an additional layer of security.
Get Java on Android Step 9
Get Java on Android Step 9

Step 3. Launch the Remote Desktop app

Sign in with your Google account, then select your home computer from the list of available connections. Enter the PIN if you created one and after a while your desktop will load.

Get Java on Android Step 10
Get Java on Android Step 10

Step 4. Open a browser on the desktop

Use the Remote Desktop application to launch your computer's web browser remotely. Enter the address of the Java site you want to visit, the same way you would if you were using a computer directly. You may notice a lag every time you tap something and a response from the action appears. This is caused by the lag that occurs on the remote computer and your phone.

Recommended: