Step 1: Making a new folder
#mkdir /software
#cd /software
Step2: Download JRE javafrom Sun.com
Now, go to http://java.sun.com/javase/downloads/index.jsp#jdkJavaEE, download the latest JRE java and put it into 'software' folder. My current version is 1.6.0_20. You version might be different.Step3: Change the file attribute of the downloaded file
Let is change the file mode bit / attribute of the file. chmod +x command is change jre-6u20-linux-i586-rpm.bin from readonly mode to executable mode.#chmod +x jre-6u20-linux-i586-rpm.bin
Step3: Execute the jre*.bin file
Execute the jre*.bin file now. the ./ is to command to run the jre file at this location.#./jre-6u20-linux-i586-rpm.bin
After you run the above command, you will see a long list of agreement, you must accept it. Type "yes" then press
Step4 : Verify your jre installation
# java -version
No comments:
Post a Comment