LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Java on CentOS 6 (https://www.linuxquestions.org/questions/linux-software-2/installing-java-on-centos-6-a-932193/)

centguy 03-01-2012 11:12 AM

Installing Java on CentOS 6
 
I wrote this note because I spent endless time trying to install
the right java on my machine according to

The reason is that Java site cannot even
label things properly !!

According to
[Linux RPM] actually means jre-6u31-linux-i586-rpm.bin
[Linux (self-extracting file)] actually means jre-6u31-linux-i586.bin
[Linux x64] actually means jre-6u31-linux-x64.bin
[Linux x64 RPM] actually means jre-6u31-linux-x64-rpm.bin

Because of this, I downloaded the wrong jre-6u31-linux-x64.bin and it is very hard
to tell before spending considerable time!


Can they not label things more consistently ?
I would recommend this:

[Linux x86 RPM] jre-6u31-linux-i586-rpm.bin
[Linux x86 self-extracting file] jre-6u31-linux-i586.bin
[Linux x64 RPM] jre-6u31-linux-x64-rpm.bin
[Linux x64 self-extracting file] jre-6u31-linux-x64.bin

This is just plain simple but why do they have to label things
in a very complicated way ?

I hope my note will be helpful to others (or at least ask Java to do
something!)

MensaWater 03-01-2012 02:12 PM

Thanks for posting this.

Please go to thread tools and mark this as solved. It helps people searching the web later to distinguish resolutions from questions for problems that have already been resolved.

knudfl 03-01-2012 08:04 PM

Quote:

.. endless time trying to install ..
The one minute solution :

32bits: # rpm -Uvh jdk-1.6.0_31-fcs.i586.rpm
http://ftp.scientificlinux.org/linux...1-fcs.i586.rpm

64bits : # rpm -Uvh jdk-1.6.0_31-fcs.x86_64.rpm
http://ftp.scientificlinux.org/linux...fcs.x86_64.rpm

.


All times are GMT -5. The time now is 06:53 PM.