To run Java programs on your computer you must at
least have the Java runtime environment (JRE) installed.
If the JRE is installed and within your path, this commands print
information about your Java installation. In this case you can skip the Java
installation description
Install Java on MS Windows
For Microsofts Windows, Oracle provides a native installer which can
be found on the Oracle website. The central website for installing
Java is located under the following URL and also contains instructions
how to install Java for other platforms.
Java.com
Installation problems and other operating systems
If you have problems installing Java on your system, search via Google for How to
install JDK on YOUR_OS . This should result in helpful links. Replace YOUR_OS with
your operating system, e.g., Windows, Ubuntu, Mac OS X, etc.
¿32 bit or 64 bit Java version?
You can run a 32 bit or a 64 bit version of Java on a 64 bit system. If you use
java -version and the output contains the "64-Bit" string you are using the 64 bit
version of Java otherwise your are using the 32 bit version. The following is the
output of a 64-bit version.