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 :

  • » Quick Guide to JUnit multiple parameter tests with Parameterized annotation
  • » Getting Started with OpenShift - easy reference by Steven Pousty & Katie J. Miller
  • » Learning Chef by Mischa Taylor and Seth Vargo
  • » Attend a Stanford University Class - The Startup Class
  • » User Story Mapping by Jeff Patton
    1. No comments yet.
    1. No trackbacks yet.