Installing Java - Mura Docs v6

Installing Java

To use Mura Express, you will need to install the Java Runtime Environment (JRE) or Java Development Kit (JDK) and set the JAVA_HOME environment variable to point to the JRE or JDK installation directory.

To install the JRE, please visit Java SE Runtime Enviornments and follow the installation instructions for your Operating System.

Once you have installed the JRE, you will need to set the JAVA_HOME environment variable to point to the JRE or JDK installation directory. Please follow the instructions below for your Operating System to complete this process.

Windows Instructions

Verify Java Installation

The first thing you should do is verify that Java has installed correctly.

  1. Launch the Command Prompt window (Start > Command Prompt)
  2. From the Command Prompt, type java -version, and press Enter on your Keyboard
  3. A message similar to the following indicates that Java is installed and you are ready to use the Java Runtime Enviornment (JRE)
  4. However, if you receive a message with a version lower than "1.7", or any type of error message, or a message similar to  'java' is not recognized as an internal or external command, operable program or batch file

Setting The JAVA_HOME Environment Variable On Windows

First, you will need to know the installation directory of your JRE or JDK (e.g., "C:\Program Files\Java\jre1.8.0_40". Then, follow the steps below to create the JAVA_HOME Environment Variable:

  1. Select Start > Computer
  2. Click System Properties
  3. Select Advanced system settings
  4. Click Environment Variables
  5. Under the System variables, click New...
  6. In the New System Variable dialog window, next to Variable name: enter JAVA_HOME. Next to Variable value: enter the installation directory of your JRE or JDK (For example, "C:\Program Files\Java\jre1.8.0_40" ... however, yours is probably different)
  7. Click OK for each open window.
  8. You should now be ready to run Mura Express.

Mac OS X Instructions

Verify Java Installation

  1. Open Terminal (Applications > Utilities > Terminal)
  2. Type java -version and press Enter on your keyboard
  3. A message similar to the following indicates that Java is installed and you are ready to use the Java Runtime Environment (JRE)
  4. However, if you receive a message with a version lower than "1.7", or any type of error message, or a message similar to: Java command not found

Setting the JAVA_HOME path variable on Mac OS X

JAVA_HOME is essentially the full path of the directory that contains a sub-directory named "bin" which in turn contains the Java.

  1. Open the file located under ~/.bash_profile. This is typically located under /Users/{yourusername}/.bash_profile and may be hidden. Note: If the file doesn't exist, go ahead and create it.
  2. Add the following to the file: export JAVA_HOME=$(/usr/libexec/java_home)
  3. Open Terminal (Applications > Utilities > Terminal), and enter source .bash_profile
  4. Then, at the prompt type echo $JAVA_HOME
  5. Example result:
  6. You should now be ready to run Mura Express