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 17.0.11 2024-04-16 LTS
OpenJDK Runtime Environment Zulu17.50+19-CA (build 17.0.11+9-LTS)
OpenJDK 64-Bit Server VM Zulu17.50+19-CA
Download Java
Download OpenJDK 17 for your operating system from download page.
You can use any OpenJDK 17 build, e.g. Azul Zulu OpenJDK or also the Oracle JDK 17.
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:
- 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.
- Click the Environment Variables button.
- Click one of the New buttons (to define a new environment variable for your user account, or if available, system-wide).
- Type
JAVA_HOME
as the variable name and the directory where you installed Java (for example: c:\java\jdk). - 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 17.0.11 2024-04-16 LTS
OpenJDK Runtime Environment Zulu17.50+19-CA (build 17.0.11+9-LTS)
OpenJDK 64-Bit Server VM Zulu17.50+19-CA