Java: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Java can be obtained in one of two flavors: Java Runtime Environment (JRE) or Java Development Kit (JDK). Unless you do programming in Java, JRE is usually sufficient for running programs and applets written in Java. JRE is also included in JDK so there is no need to install both.
Java can be obtained in one of two flavors: Java Runtime Environment (JRE) or Java Development Kit (JDK). Unless you do programming in Java, JRE is usually sufficient for running programs and applets written in Java. JRE is also included in JDK so there is no need to install both.  There are two main flavors of Java that we have support for [http://www.oracle.com/us/technologies/java/overview/index.html Oracle Java] and [http://openjdk.java.net/ OpenJDK].


Versions available
==[[RHEL]]/[[Ubuntu]]==
The version of Java running can be checked by running the following command on any RHEL/Ubuntu machine. Alternative JDK and JRE options can be found in <tt>/usr/lib/jvm</tt>. <pre>bash-4.2$ java -version</pre>


* JDK 1.6.0: /opt/jdk1.6.0
==[[Windows]]==
* JDK 1.5.0: /opt/jdk1.5.0*
JRE is installed on all supported workstations by default and auto-updated to the latest version periodically. If for some reason your machine does not have Java, you may send a request to [mailto:staff@umiacs.umd.edu staff] to have JRE or JDK installed on your machine.
* JRE 1.4.1: /opt/j2re-1.4.1
* JDK 1.4.1: /opt/j2sdk-1.4.1
* JDK 1.3.0: /opt/j2sdk1_3_0_02
 
'''NOTE''' Some versions may not be installed on all our supported OSs. We will not be installing 1.3 or before on any newer OSs. Please also note that there are sometimes many minor version numbers in the directories.
 
For PCs, you may send a request to [mailto:staff@umiacs.umd.edu staff] to have JRE or JDK installed on your machine. Please specify whether you would like JRE or JDK and the version number.

Latest revision as of 13:39, 23 October 2024

Java can be obtained in one of two flavors: Java Runtime Environment (JRE) or Java Development Kit (JDK). Unless you do programming in Java, JRE is usually sufficient for running programs and applets written in Java. JRE is also included in JDK so there is no need to install both. There are two main flavors of Java that we have support for Oracle Java and OpenJDK.

RHEL/Ubuntu

The version of Java running can be checked by running the following command on any RHEL/Ubuntu machine. Alternative JDK and JRE options can be found in /usr/lib/jvm.

bash-4.2$ java -version

Windows

JRE is installed on all supported workstations by default and auto-updated to the latest version periodically. If for some reason your machine does not have Java, you may send a request to staff to have JRE or JDK installed on your machine.