Installing Java on OEL is a pretty straight forward task.  It does have a few complications though.  Remember the old days where you went to java.sun.com?  Now that redirects you to an Oracle page and ultimately you end up here to download the goods:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Once you get through the links you’ll be presented with two choices to download:

  • jdk-6u22-linux-x64-rpm.bin
  • jdk-6u22-linux-x64.bin
Well, well, what to do?  Since we are talking about OEL here we know that we have an rpm based system and we can install as root for a system-wide install so let’s opt for the first download, the rpm-bin.  We know it is an rpm based system since OEL is binary compatible with Redhat.  Generally speaking, select the Linux RPM in self-extracting file (if you have root access) or the Linux self-extracting file (if you don’t).

Having downloaded your file you need to upload it to the server and then execute:
chmod a+x <your file name>

And then run the application like this:
./<your file name>

Follow the prompts and the rest of the install is pretty straight forward.

Finally, you may want to edit your /etc/profile and add some things like JAVA_HOME (likely /usr/java/<version>) and CLASSPATH (likely something like $JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.:..)
 
 
The team over at Sena has created a new blog where they will provide some UCM based content on occasion as well as some other “sound bites” to help out the community.  The first post, provided by Troy Allen, is very in depth and hopefully a great example of things to come.  I have worked with Troy before and each experience has been great.  I am excited to see a new outlet for him to provide some knowledge as he certainly has a lot to share.

Troy also has a good team around him and the names on the blog present a lot of promise.  I am always excited to see growth in the online community.  It helps us move from mystical black art to a more mainstream product set.
 

Redstone Content Solutions