Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JRE on Android

This might sound like a stupid question, but google didn't help me.

Is there a JRE available for Android? If so which version is it? Are there any major features missing?

If not does that mean all java apps need to be recompiled for Dalvik to work on the Android?

Update; Will there ever be JRE available for the Android?

like image 850
hhafez Avatar asked Dec 24 '08 00:12

hhafez


People also ask

Is there a JRE for Android?

Show activity on this post. 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.

Is JRE required for Android Studio?

Android Studio is a customized version of JetBrains' IntelliJ IDE, which is, in turn, a Java application. Therefore, as we established, to launch IntelliJ (and, consequently, Android Studio) on your computer, you need to have JRE installed.

Does developing for Android require the JRE or the JDK?

Since Android apps are written in Java, you will need the Oracle Java compiler and libraries on your system. These are collectively called the Java Development Kit or "JDK" for short.

What is JRE app?

The Java Runtime Environment (JRE) is software that Java programs require to run correctly. Java is a computer language that powers many current web and mobile applications. The JRE is the underlying technology that communicates between the Java program and the operating system.


2 Answers

No, there is not. Google did create a completely different runtime for Android, where the base classes are completely different ( albeit compatible )

It uses Java as the language ( syntax ) but not the Java platform.

You can learn about the Android platform here.

From that page:

Android includes a set of core libraries that provides most of the functionality available in the core libraries of the Java programming language.

Read in bold "most".

So, although they look similar, they are not the same.

like image 152
OscarRyz Avatar answered Oct 04 '22 18:10

OscarRyz


The closest I've found is http://www.apogee.com/products/cjre-a

Unfortunately as stated on that page:

Note that Apogee temporarily suspended further development of CJREs+A in June, 2012, because of insufficient demand for them. Please, contact Apogee if you are interested in a CJRE+A targeted at a an Android-running device of your choice for "volume" distribution to your customers and/or other third parties.

...and a download/demo is nowhere to be found.

Taken from their products page http://www.apogee.com/products it does sound like it would have been a great thing to have:

CJRE+A - The “CJRE for Android” is suitable for devices running Android v4.x or higher, which need to execute the Java SE 5 and SE 6 applications in addition to executing the Android applications.

We can still dream. I have not contacted them. I am aware of many companies that are looking for this functionality. I can't imagine it will dwindle all too fast (or let's say slower than flash)?

I have not reached out to Apogee, might be worth a try...If anyone ever finds a solution, please keep us updated! Thanks.

like image 24
TryTryAgain Avatar answered Oct 04 '22 17:10

TryTryAgain