Installing Java

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

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

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

Note: If you have both the Java SE Runtime Environment (JRE) and the Java SE Development Kit (JDK), please make sure they are both on the same version. If they are different (e.g, JDK running on version 10, and JRE running on version 8), you will run into errors.

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 JRE_HOME Environment Variable On Windows

First, you will need to know the installation directory of your JRE (e.g., "C:\Program Files\Java\jre1.8.0_161". If you navigate to the directory, it should contain a subdirectory named "bin". Then, follow the steps below to create the JRE_HOME Environment Variable:

  1. First, verify the actual location of your JRE. For most Windows users, it will be something like "C:\Program Files\Java\jre1.8.0_161", although your environment may be slightly different. Verify the directory contains a "bin" subdirectory.
  2. Select the path from the explorer window toolbar, and copy it.
  3. Select Start > Right-Click on "Computer" > Select "Properties"
  4. Select Advanced system settings
  5. Click Environment Variables
  6. Under the System variables, click New...
  7. In the New System Variable dialog window, next to Variable name: enter JRE_HOME. Next to Variable value: paste the value copied from step 2 above, and enter the installation directory of your JRE (For example, "C:\Program Files\Java\jre1.8.0_161" ... however, yours is probably different)
  8. Click OK for each open window.
  9. If you have any open shell windows, please close them.
  10. You should now be ready to run Mura Express.
  11. If you run into any issues, you may need to restart your computer. If you continue to have issues, the most common issue users run into is entering the wrong path for the JRE_HOME variable. Double-check the full path of the directory and that it contains a sub-directory named "bin".

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 JRE_HOME path variable on Mac OS X

If you're running on Mac OS X, you may not have to do these steps. However, the JRE_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 JRE_HOME=$(/usr/libexec/java_home)
  3. Open Terminal (Applications > Utilities > Terminal), and enter source .bash_profile
  4. Then, at the prompt type echo $JRE_HOME
  5. Example result:
  6. You should now be ready to run Mura Express