Open Source and the Magic LAMP

Java Notes

Java
Dont use the version of Java that comes with Red Hat. Its old and incompatable with just about everything.
Here’s how to remove it:
yum remove | grep *java*
This will remove the java package and all of the dependancies. Make sure to follow the directions on setting up the Red Hat RPM CD as a yum repository first before doing this.
To make sure java is compleatly removed type
java -version
You shouldn’t get any information.

Install Java JDK
Download Java SE Development Kit RPM from http://developers.sun.com/downloads/
Use wget command to put RPM on server. Make sure to chmod 777 RPM.bin file otherwise you will get a permissions error when doing the next task:
type ./name_of_RPM.bin to extract and install RPM

Leave a comment