Win: 1. Install Java

Table of Contents

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
openjdk version "11.0.7" 2020-04-14 LTS
OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.39+15-CA (build 11.0.7+10-LTS, mixed mode)

Download Java

Download OpenJDK 11 for your operating system from download page.

You can use any OpenJDK 11 build, e.g. AdoptJDK, Zulu OpenJDK or also the Oracle JDK 11.

Install Java

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

Set JAVA_HOME

During installation you need to set the JAVA_HOME environment variable, whose value is the root directory of the JDK. Change 'Set JAVA_HOME variable' to option 'Will be installed on local hard drive'.

After installation check success of setting JAVA_HOME variable 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.

    • On Windows 10-based operating system, Click on windows button, then write 'Edit the system enviroment variables' and click on found item.

  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.

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
openjdk version "11.0.7" 2020-04-14 LTS
OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.39+15-CA (build 11.0.7+10-LTS, mixed mode)