JDK 9 Support

This is where you talk about the EV3 software itself, installation issues, and programming talk.

Moderators: roger, gloomyandy, skoehler

KhamPa
New User
Posts: 1
Joined: Fri Jan 20, 2017 6:35 am

JDK 9 Support

Postby KhamPa » Fri Jan 20, 2017 7:53 am

Hello there.

I've found that some of JDK 9 released. http://openjdk.java.net/projects/jdk9/

As u know new JDK supports AOT compilation that possibly able to improve overall performance of LeJos programs on Ev3.
http://openjdk.java.net/jeps/295
Its supports only java.base right now.
http://download.java.net/java/jdk9/docs ... mmary.html

JDK9 full release planned on JULY 2017.
http://www.theregister.co.uk/2016/09/14 ... ase_delay/
So would LeJos support JDK9?

User avatar
gloomyandy
leJOS Team Member
Posts: 5875
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: JDK 9 Support

Postby gloomyandy » Fri Jan 20, 2017 8:34 am

That document says that AOT compilation is only supported for Linux/x64 systems so is very unlikely to work on the EV3. I'm sure someone will get JDK 9 working on the EV3 but there may be issues due to the rather old version of Linux that is used by LEGO/leJOS. There are also the problems (like with Java 8) of having to take extra steps to generate the JRE on another system rather than having something that can be used directly from the download.
leJOS news https://lejosnews.wordpress.com/

User avatar
esmetaman
Advanced Member
Posts: 358
Joined: Wed Sep 13, 2006 12:16 am
Location: UK, Milton Keynes
Contact:

Re: JDK 9 Support

Postby esmetaman » Thu Feb 16, 2017 11:55 pm

With EV3Dev, I am testing the installation of Java 9. At the moment, I could install Java 9, JDK + JRE installing in a manual way all debian packages, but it is possible. When I have more tests, I will inform.

Image

Cheers
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://ev3dev-lang-java.github.io/#/
https://github.com/jabrena/livingrobots

User avatar
esmetaman
Advanced Member
Posts: 358
Joined: Wed Sep 13, 2006 12:16 am
Location: UK, Milton Keynes
Contact:

Re: JDK 9 Support

Postby esmetaman » Sun Sep 24, 2017 7:59 pm

I am trying to build for EV3 with OpenJ9 a JVM for Java 9 from Eclipse foundation:
http://www.eclipse.org/openj9/

Eclipse OpenJ9 is a high performance, scalable, Java virtual machine (JVM) implementation that represents hundreds of person-years of effort. Contributed to the Eclipse project by IBM, the OpenJ9 JVM underpins the IBM SDK, Java Technology Edition product that is a core component of many IBM Enterprise software products. Continued development of OpenJ9 at the Eclipse foundation ensures wider collaboration, fresh innovation, and the opportunity to influence the development of OpenJ9 for the next generation of Java applications.


More information here:
https://github.com/ev3dev-lang-java/ev3 ... issues/405

Juan Antonio
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://ev3dev-lang-java.github.io/#/
https://github.com/jabrena/livingrobots


Return to “EV3 Software”

Who is online

Users browsing this forum: No registered users and 1 guest