Java jre1.5.0_07 on Centos 4.1
Posted on 2006-06-22
Hi I'm going crazy here. I need to install jre1.5 for an app I want to use. This is for an asterisk box. I dont need it for firefox or other web browser.
I did a Yum install of the jpackage (I dont even know what that means) it installed 1.4.X
I can from the command line do
java -version and get the version.
So that yum installer seems to work great.
I tried to use the self extracting .bin and the RPM from the Sun site. Both ways seemed to go through the install fine but the only way I can get it to work is to call it through the full path... /usr/java/jre1.5X/bin/java -version
So my question is: Step by step...
How do I uninstall 1.4
make it so when I do which java it uses 1.5.