Home > Enterprise >  Run Java application in Android OS devices
Run Java application in Android OS devices

Time:04-13

I have an application Java developped using intellij and now I should make it working in Anrdoid device. Is there any possibility to run a jar java application inside Android Devices? or to compile a java project to both jar and apk? Thank you

CodePudding user response:

You cannot directly run jar files in android as android runs on Dalvik Virtual Machine, whereas to run jar files you will need Java Runtime Environment which has Java Virtual Machine.

You can refer this website

CodePudding user response:

You can run a java application on your android device with the help of termux. Check this tutorial that shows the spring app running on android.

  • Related