how this will work on Android

Bob Vandette bob.vandette at oracle.com
Fri Dec 11 13:35:31 UTC 2015



> On Dec 11, 2015, at 2:12 AM, saeed yousefi <saeedtej at yahoo.com> wrote:
> 
> Hi bob ,I have a question and that is how this will work on Android , because as I know Android makes use of Dalvik vm and every App will fire a virtual machine which uses a set of Android library . Does it give you that permission to start your own JVM ?

Hi Saeed,

Yes, applications built to run our JDK 9 Java runtime will include our JVM and will start it using
the Java Invocation APIs (http://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/invocation.html <http://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/invocation.html>)  
when the Android app starts.   As a convenience to developers, we will be providing a Java Launcher interface 
that will run under Dalvik and start our JVM through the Dalvik JNI interface.

Bob.



More information about the mobile-dev mailing list