Questions tagged [java]

Java is a general-purpose programming language. Use this tag only for topic/technology that is related to the Android environment. DO NOT USE THIS TAG FOR APP DEVELOPMENT ISSUE BECAUSE IT IS OFF-TOPIC.

Developers can use the Java programming language to write Android apps. It's possible to use other languages too, but since all of the standard GUI components are written in Java, that's the most popular. 'Java' can also refer to the Java Virtual Machine (JVM), which is the foundation for running apps that were written in Java (or some other languages). Android has a special kind of JVM named . In general, each app is isolated in its own copy of Dalvik for .

Although programming questions are off-topic for this site, power users and those curious about how Android works sometimes have questions that relate specifically to the language or the JVM.

54 questions
13
votes
4 answers

Can you run 'normal' Java programs on Android?

I know some 'normal' Java (computer Java), and I want to run such a program on my Android device. Is this possible? If yes, how?
scheurneus
  • 239
  • 1
  • 2
  • 3
3
votes
1 answer

Why is there no JRE for android?

I understand that android does not use a JRE and Google has build a platform only for android. But an android device is not really different from e.g a Raspberry PI. So why is it not possible to just install Oracles JVM on a rooted android device?
NyxCode
  • 133
  • 1
  • 3
1
vote
1 answer

Is there a web browser+Java plugin available for Android?

Possible Duplicate: Are there any Android browsers that support loading a Java Applet in-browser? I am having some issues accessing internet banking etc on my tablet with Android as the operating system. Is there any way of avoiding this, or…
Rosnes
  • 19
  • 2
1
vote
0 answers

Verified boot keystore generateion failure

I need to generate my own keystore for Android Verified Boot. I took these steps mmma system/extra/verity keystore_signer private.der verity.x509.pem keystore.img verity.der And i got this error Exception in thread "main"…
demonguy
  • 161
  • 4
0
votes
1 answer

How to install jdk for offline compile?

I want to compile java offline. I have project on PC, will just copy and make small changes to it, and test it, when I am away from home. Doesnt need to be an IDE. Not even code editor. Just a working compiler. No need to be an app apk, a method…
VeganEye
  • 151
  • 9
0
votes
3 answers

Why is there no Java compiler on Android?

I'm not an Android developer but I do other stuff. I just rooted my phone so I was playing around with a shell and I was trying to compile some C packages and realized there is no C compiler, OK. Surely there must be Java right? Tried it and I can't…
Joff
  • 101
  • 1
  • 3
-1
votes
1 answer

Does Android not supports Java?

Redmi 6 does not support java. Redmi Note 5 support java through third party support. What's the difference? I read on Quora that by not supporting Java I can't go to Play Store.
user1036553
-1
votes
1 answer

How can I run a java app on my Pandigital Planet tablet?

Possible Duplicate: Are there any Android browsers that support loading a Java Applet in-browser? I am trying to acess my web based emulator for work and the tablet does not support java virtual machine which needs to be installed to run the…
don
  • 1
  • 1