openjdk 9 in ios - any sample xcode project or any sample using JavaLauncher interface?

Grigory Ptashko grigory.ptashko at gmail.com
Fri Mar 4 21:57:03 UTC 2016


Hello.

Does anyone have any examples on how to use java from jdk9 on ios?
I’ve built the jdk and jre, found the Java Launcher objective-c interface.
But I cannot understand how can I use them in the xcode project.

I can add the JavaLauncher.framework to my project and include JavaLauncher.h.
But what libraries should I link my target against?

Here’s the jre tree. What am I supposed to do with all these files in terms of adding them to
my xcode project? All the *.a and *.jimage files?

├── bin
│   └── unpack200
├── conf
│   ├── logging.properties
│   ├── management
│   │   ├── jmxremote.access
│   │   ├── jmxremote.password.template
│   │   ├── management.properties
│   │   └── snmp.acl.template
│   ├── net.properties
│   ├── security
│   │   ├── java.policy
│   │   └── java.security
│   └── sound.properties
├── lib
│   ├── amd64
│   │   ├── jli
│   │   │   ├── libjli.a
│   │   │   └── libjli.symbols
│   │   ├── jvm.cfg
│   │   ├── libfreetype.a.6
│   │   ├── libj2gss.a
│   │   ├── libj2gss.symbols
│   │   ├── libj2pcsc.a
│   │   ├── libj2pcsc.symbols
│   │   ├── libj2pkcs11.a
│   │   ├── libj2pkcs11.symbols
│   │   ├── libjaas_unix.a
│   │   ├── libjaas_unix.symbols
│   │   ├── libjava.a
│   │   ├── libjava.symbols
│   │   ├── libjimage.a
│   │   ├── libjimage.symbols
│   │   ├── libmanagement.a
│   │   ├── libmanagement.symbols
│   │   ├── libnet.a
│   │   ├── libnet.symbols
│   │   ├── libnio.a
│   │   ├── libnio.symbols
│   │   ├── libsunec.a
│   │   ├── libsunec.symbols
│   │   ├── libunpack.a
│   │   ├── libunpack.symbols
│   │   ├── libverify.a
│   │   ├── libverify.symbols
│   │   ├── libzip.a
│   │   ├── libzip.symbols
│   │   └── minimal
│   │       ├── Xusage.txt
│   │       ├── libjvm.a
│   │       └── libjvm.symbols
│   ├── classlist
│   ├── java.base.symbols
│   ├── modules
│   │   ├── appmodules.jimage
│   │   ├── bootmodules.jimage
│   │   └── extmodules.jimage
│   ├── psfont.properties.ja
│   ├── psfontj2d.properties
│   ├── security
│   │   ├── US_export_policy.jar
│   │   ├── blacklisted.certs
│   │   ├── cacerts
│   │   └── local_policy.jar
│   └── tzdb.dat

Please, can anyone shed some light on it?

Thank you.

--
Best regards,
Grigory Ptashko

+7 (916) 1489766
grigory.ptashko at gmail.com
facebook.com/GrigoryPtashko



More information about the mobile-dev mailing list