Skip to content

Dagum Hippies

Java on Linux: OpenJDK does not work for production use, full stop.

Least-painful method for Centos 6.x from here:

  1. Install system + updates
  2. wget rpm bin from Mr. Ellison’s cookie jar
  3. Magic sauce is this:

/usr/sbin/alternatives –install /usr/bin/java java /usr/java/default/bin/java 20000

You can even do this after a tomcat6 install. Though you might have to do #3 afterwards anyways if OpenJDK is rolled in the deps from yum install tomcat6.

Also, to find what package you actually need, this can be helpful:

yum list available | grep package