• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

Need correct JDK on Red Hat LInux

Need to install the correct jdk on my Linux machine.  But, I don't know which one to install.

I am running Linux Enteprise 3.  

uname -a shows on the Linux machine:
Linux i686 athlon i386 GNU/Linux

The possible jdk's are:
jdk-6u7-linux-x64-rpm.bin
jdk-6u7-linux-x64.bin
jdk-6u7-i586-rpm.bin
jdk-6u7-linux-i586.bin

Which one should I use?
0
lcor
Asked:
lcor
3 Solutions
 
CEHJCommented:
You don't want one of the x64 ones. Try to get a pure rpm if you can
0
 
zweiSoftware DeveloperCommented:
jdk-6u7-i586-rpm.bin
0
 
Kerem ERSOYPresidentCommented:
The correct java means the java that would run your applications. JDK6 being the latest version is not compatible with lots of applications. Depending on your applications you run with java you might like to install JDK5 instead. Also JDK includes Java compiler and and other javadevelopment utilities. If you will not develop andy aplication but you woud run them istean you would go with JRE instead of JDK.

But if you're askin which one of the platfoms  is suitable for your then you'll need to eliminate 64-bit ones. Since you say you're running enterprise Linux 2 I assume that you use RedHAT Enterprise Linux. Which is capable of running RPM. So you'd better peick the RPM version. The RPM version is instalable through RPM package management system. It installs jata to the correct platform. Whil the bin version is similar it is basicly an unsip package and unzip under the current folder and you'l veed to move the folder to the correct place. This is under /usr/java which is linked to /usr/lib/java.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now