WinS: 1. Install Java

Graphlytic requires Java to be installed. For required version see Requirements. If you have installed required version you can skip installation of Java.

You can test whether you have the correct Java platform by running from command line:

$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode, sharing) 

1. Download Java

Download correct version of Oracle Java Developers Kit (JDK) for your operating system.

2. Install Java

Execute downloaded installer of JDK, follow wizard and finish installation.

Do not install Java into directory with space in name. For example: do not install into "Program Files" directory. This install location can lead to problems to run Java correctly. Example of correct location: "c:\java\jdk"

3. Set JAVA_HOME

Once the JDK is installed, you will need to set the JAVA_HOME environment variable, whose value is the root directory of the JDK. Some JDK installers set this automatically (check by typing 'echo %JAVA_HOME%' in a Windows command prompt).

If this environment variable is not set on a Windows-based computer, you can set it in the Control Panel using the following procedure:

  1. Open the Windows 'Advanced' system properties dialog box:

    • On Windows XP-based operating systems, right-click on the My Computer icon on your desktop (or via the Start menu), select 'Properties' and click the 'Advanced' tab.

    • On Windows 7-based operating systems, right-click the Computer icon on your desktop (or via the Start menu), select 'Properties', click 'Advanced system settings', select 'Properties' and click the 'Advanced' tab.

  2. Click the Environment Variables button.

  3. Click one of the New buttons (to define a new environment variable for your user account, or if available, system-wide).

  4. Type JAVA_HOME as the variable name and the directory where you installed Java (for example: c:\java\jdk).

  5. After clicking the required 'OK' buttons to save your changes, your JAVA_HOME environment variable should be available in a new command prompt window. If not or if necessary, restart your computer.

4. Confirm that Java Works

Once the steps above have been done, it should be possible to open a Windows command prompt and type this command to check Java version:

%JAVA_HOME%\bin\java -version

If everything is set up correctly you should see output similar to this:

$ %JAVA_HOME%\bin\java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode, sharing)