DanielMartensson
Posts: 2
Joined: Fri Feb 01, 2019 1:23 pm

Why are Raspberry Pi still using Java 8 when Java 11 is available?

Fri Feb 01, 2019 1:26 pm

Hello!

I wonder why Raspberry Pi is still using old Java 8 for ARM 32-bit and 64-bit, when Java 11 for ARM 32-bit and 64-bit is now available from Azul Systems?

I'm using Pi4J to control the GPIO pins from web applications(Primefaces + Tomcat) and I'm switching now from Java 8 to Java 11.

https://www.azul.com/downloads/zulu-embedded/

fruitoftheloom
Posts: 18558
Joined: Tue Mar 25, 2014 12:40 pm

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Fri Feb 01, 2019 5:50 pm

DanielMartensson wrote:
Fri Feb 01, 2019 1:26 pm
Hello!

I wonder why Raspberry Pi is still using old Java 8 for ARM 32-bit and 64-bit, when Java 11 for ARM 32-bit and 64-bit is now available from Azul Systems?

I'm using Pi4J to control the GPIO pins from web applications(Primefaces + Tomcat) and I'm switching now from Java 8 to Java 11.

https://www.azul.com/downloads/zulu-embedded/

OpenJDK11 will be in Buster release.

Debian, which Raspbian is a fork, are very conservative regards updating packages.
adieu

My other Computer is an Asus CS10 ChromeBit

User avatar
HawaiianPi
Posts: 3288
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Fri Feb 01, 2019 6:53 pm

DanielMartensson wrote:
Fri Feb 01, 2019 1:26 pm
... when Java 11 for ARM 32-bit and 64-bit is now available from Azul Systems?
Well there's that. Raspbian includes Oracle Java. They don't have a license to distribute anything from Azul Systems. Of course that doesn't explain why they are using an ancient version of Oracle Java 8 (1.8.0_65 is included, current version is 1.8.0_201).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5451
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Mon Feb 04, 2019 8:09 am

HawaiianPi wrote: They don't have a license to distribute anything from Azul Systems.
Spot on
HawaiianPi wrote: Of course that doesn't explain why they are using an ancient version of Oracle Java 8 (1.8.0_65 is included, current version is 1.8.0_201).
It's a bit of a pain to package and I don't keep track of their releases or which releases are worth the effort. Once in a while somebody will ask for a newer version of Java and I'll grab the latest version, but that doesn't happen very often.

It's probably not going to be updated anymore and Buster will only have OpenJDK. Unless there's some reason to ship newer versions of Oracle Java 8 & 9?

DanielMartensson
Posts: 2
Joined: Fri Feb 01, 2019 1:23 pm

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Mon Feb 04, 2019 10:54 am

fruitoftheloom wrote:
Fri Feb 01, 2019 5:50 pm
DanielMartensson wrote:
Fri Feb 01, 2019 1:26 pm
Hello!

I wonder why Raspberry Pi is still using old Java 8 for ARM 32-bit and 64-bit, when Java 11 for ARM 32-bit and 64-bit is now available from Azul Systems?

I'm using Pi4J to control the GPIO pins from web applications(Primefaces + Tomcat) and I'm switching now from Java 8 to Java 11.

https://www.azul.com/downloads/zulu-embedded/

OpenJDK11 will be in Buster release.

Debian, which Raspbian is a fork, are very conservative regards updating packages.
When will Raspberry Pi buster be released?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5451
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Mon Feb 04, 2019 11:09 am

DanielMartensson wrote:
Mon Feb 04, 2019 10:54 am
fruitoftheloom wrote:
Fri Feb 01, 2019 5:50 pm
DanielMartensson wrote:
Fri Feb 01, 2019 1:26 pm
Hello!

I wonder why Raspberry Pi is still using old Java 8 for ARM 32-bit and 64-bit, when Java 11 for ARM 32-bit and 64-bit is now available from Azul Systems?

I'm using Pi4J to control the GPIO pins from web applications(Primefaces + Tomcat) and I'm switching now from Java 8 to Java 11.

https://www.azul.com/downloads/zulu-embedded/

OpenJDK11 will be in Buster release.

Debian, which Raspbian is a fork, are very conservative regards updating packages.
When will Raspberry Pi buster be released?
We're aiming to release for whenever Debian marks it stable, but in the past we've had a few months lag. Expecting it some time around the middle of the year.

User avatar
HawaiianPi
Posts: 3288
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Mon Feb 04, 2019 6:06 pm

ShiftPlusOne wrote:
Mon Feb 04, 2019 8:09 am
It's a bit of a pain to package and I don't keep track of their releases or which releases are worth the effort. Once in a while somebody will ask for a newer version of Java and I'll grab the latest version, but that doesn't happen very often.
The PPA from webupd8team I use updates Java when you update Raspbian. I've posted about it in the Java forums a few times.
Here's one of my posts: https://www.raspberrypi.org/forums/view ... 0#p1400092

It's basically an installer script. Probably wouldn't bee too difficult to make something similar, or you could look into using the webupd8tem PPA.

It's probably not going to be updated anymore and Buster will only have OpenJDK. Unless there's some reason to ship newer versions of Oracle Java 8 & 9?
In my experience, Oracle java is faster and more stable than OpenJDK. As far as not being updated any more, Oracle has been saying that for the last ten updates or so (the 1.8.0_201 update was very recent). ¯\_(ツ)_/¯

Haven't messed much with newer versions, because I mainly use Java for Minecraft, and Optifine still uses Java 8.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5451
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Mon Feb 04, 2019 6:17 pm

HawaiianPi wrote: It's basically an installer script. Probably wouldn't bee too difficult to make something similar, or you could look into using the webupd8tem PPA.
It's not quite as bad as I made it seem, but it's still a hassle. There's a script which takes oracle's tarballs and spits out packages, which I'd prefer to relying on third parties. If people want it, I can set up a cronjob to look out for updates, package it up and put it in the repo as necessary. But again, I don't know if it's worth it. Seems like people who absolutely must have have the latest jre 8 can use the PPA. Or are they typically security updates which are actually important?
HawaiianPi wrote:
Mon Feb 04, 2019 6:06 pm
In my experience, Oracle java is faster and more stable than OpenJDK. As far as not being updated any more, Oracle has been saying that for the last ten updates or so (the 1.8.0_201 update was very recent). ¯\_(ツ)_/¯

Haven't messed much with newer versions, because I mainly use Java for Minecraft, and Optifine still uses Java 8.
From Oracle/OpenJDK 11, they're almost identical.

https://blogs.oracle.com/java-platform- ... -and-later

Balin
Posts: 10
Joined: Mon Sep 17, 2018 7:43 am

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Wed Feb 20, 2019 3:04 pm

DanielMartensson wrote:
Fri Feb 01, 2019 1:26 pm
Hello!

I wonder why Raspberry Pi is still using old Java 8 for ARM 32-bit and 64-bit, when Java 11 for ARM 32-bit and 64-bit is now available from Azul Systems?

I'm using Pi4J to control the GPIO pins from web applications(Primefaces + Tomcat) and I'm switching now from Java 8 to Java 11.

https://www.azul.com/downloads/zulu-embedded/
Why not take the Azul package and run the Tomcat with that? I usually do that, having dropped Oracle Java long since due to license issues. Just configure $JAVA_HOME for the Tomcat.
Regards, Balin.

User avatar
DougieLawson
Posts: 34564
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Fri Feb 22, 2019 9:24 pm

The question should be "why does DebIan never upgrade a release except at at version change?"

Buster will have newer versions of lots of packages.

It's the DebIan way and Raspbian mostly follows their dogma.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

fruitoftheloom
Posts: 18558
Joined: Tue Mar 25, 2014 12:40 pm

Re: Why are Raspberry Pi still using Java 8 when Java 11 is available?

Fri Feb 22, 2019 10:16 pm

Balin wrote:
Wed Feb 20, 2019 3:04 pm
DanielMartensson wrote:
Fri Feb 01, 2019 1:26 pm
Hello!

I wonder why Raspberry Pi is still using old Java 8 for ARM 32-bit and 64-bit, when Java 11 for ARM 32-bit and 64-bit is now available from Azul Systems?

I'm using Pi4J to control the GPIO pins from web applications(Primefaces + Tomcat) and I'm switching now from Java 8 to Java 11.

https://www.azul.com/downloads/zulu-embedded/
Why not take the Azul package and run the Tomcat with that? I usually do that, having dropped Oracle Java long since due to license issues. Just configure $JAVA_HOME for the Tomcat.

ArchLinuxArm has version 11.02 of jre-openjdk & jdk-openjdk
adieu

My other Computer is an Asus CS10 ChromeBit

Return to “Java”