Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

openjdk 1.8 package for centos 6.5

I want to move our production setup to openjdk 1.8 soon. Currently we're running openjdk 1.7u55 on centos 6.5.

The trouble is that I can't seem to get a straight answer out of google on where to find a yum repository with 1.8. Has a usable rpm been released somewhere? If so, where? If not, is there a rough ETA when this might happen (e.g. centos 7 or epel?). I could probably wait a few weeks but not much longer.

I was able to find some fedora packages at least: https://apps.fedoraproject.org/packages/java-1.8.0-openjdk/builds

So, this suggest people are working on this at least but I have no idea if these packages are stable with centos (or work at all).

For clarity, I know it is early days with jdk 1.8 and am well aware of the tradeoffs. I'm not looking for build instructions or instruction on how to download Oracle Java from Oracle, which with their lack of a yum repo and license click through is annoying.

like image 767
Jilles van Gurp Avatar asked May 28 '14 16:05

Jilles van Gurp


People also ask

Does OpenJDK support Java 8?

Yes, the Red Hat's build of OpenJDK version 8 for RHEL and Windows includes Java Web Start support.

Is Java 1.8 still supported?

Yes, it's still a LTS since extended support will be provided till 2030. You can check the official Oracle Java Roadmap.


Video Answer


1 Answers

It seems Epel now has openjdk 1.8.0_25. So this is no longer an issue. Install sudo yum install java-1.8.0-openjdk-devel if you need the jdk instead of the jre.

like image 96
Jilles van Gurp Avatar answered Oct 20 '22 20:10

Jilles van Gurp