Home > Software, Technology > CentOS Java JDK install quick guide

CentOS Java JDK install quick guide

March 18th, 2012

It is recommended to install JDK from Sun Oracle.

Download the latest from Oracle’s website by selecting the correct version for your server.

Eg. latest version available now is jdk-7u3

Linux x86 (32-bit) 63.65 MB jdk-7u3-linux-i586.rpm
Linux x64 (64-bit) 64.53 MB jdk-7u3-linux-x64.rpm

Check your OS version with the following command:

uname -a

x86_64 GNU/Linux  is a 64 bit OS

ia64 GNU/Linux is a 64 bit OS

i386 GNU/Linux is a 32 bit OS

Once download, you can install it by running the file

rpm -iv jre-<version>-linux-<os>.rpm

JDK will be installed under /usr/java

If you have downloaded the binary installer and not a rpm file, refer to this.

 Follow me on twitter.

Software, Technology

, , , ,

You might like the following posts too :

  • » The Phoenix Project: A Novel about IT, DevOps, and Helping Your Business Win
  • » Redis in Action by Josiah L. Carlson
  • » Redis Cookbook by Tiago Macedo, Fred Oliveira
  • » Developer Programs
  • » Running JUnit tests in Maven with Surefire Plugin and skipTests in default packaging
    1. No comments yet.
    1. No trackbacks yet.