can we run java program in phone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

can we run java program in phone

25th Jun 2016, 6:33 PM
pankush
pankush - avatar
5 Answers
+ 1
for phones like simple phone, no. some of them are chiped with a subset of java virtual machine (MIDP). so if you want your program run on them, you have to adapt its code to follow J2ME standard
26th Jun 2016, 8:35 AM
NWAWEL A IROUME
NWAWEL A IROUME - avatar
0
Yes
25th Jun 2016, 7:30 PM
Fares Al Haddad
Fares Al Haddad - avatar
0
yup you can they have built compiler for u
25th Jun 2016, 11:14 PM
Aamir Memon
Aamir Memon - avatar
0
my phone is redmi,2prime so can i run in this
26th Jun 2016, 9:02 AM
pankush
pankush - avatar
0
@pankush your device is an Android device. Android app are written in java language. so you have to follow Android way of writting app. if you want to run old MIDP/JAR app you have to installation an emulator see http://w3epic.com/run-java-apps-j2me-on-android-devices-guide/
26th Jun 2016, 9:27 AM
NWAWEL A IROUME
NWAWEL A IROUME - avatar