Friday, October 31, 2014

Install Java Jar

A Java Jar file is an archive file that can contain executable software. Jar files are created through the jar utility found in the Java JDK (software development kit). The jar file uses .zip compression, so a compressed jar file can be opened with any ZIP compression utility. Executable software must be executed by the "java-jar" command. In order to install the software contained in an executable jar file, you must have the Java Runtime Environment installed.


Instructions


1. Install Java Runtime Environment (see "Additional Resources," below).


2. Open a command prompt window in the Windows operating system. Open a terminal window in the Linux and Unix operating systems. You will be provided with a command prompt where you will enter the command in Step 4.


3. Navigate to the directory where the jar file is located.


4. Type the command "java-jar filename.jar" to extract and execute the jar file.


5. Type "exit" to close the Command Prompt window or terminal window.

Tags: Install Java, Java Runtime, Java Runtime Environment, Runtime Environment, terminal window