openjdk 1.8 package for centos 6.5

Jilles van Gurp picture Jilles van Gurp · May 28, 2014 · Viewed 13.7k times · Source

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.

Answer

Jilles van Gurp picture Jilles van Gurp · Nov 13, 2014

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.