This article covers the most common errors Windows users may experience when starting DAISY Pipeline 2. If your issue isn’t listed here, please visit our issue tracker to report it.
DAISY Pipeline 2 uses the Windows environment variable JAVA_HOME to find your Java installation folder. This error can occur if the variable is not set or pointing to an incorrect path. Please follow the steps below to set or correct your JAVA_HOME variable.
Before following the solution steps, first verify that you have Java installed correctly.
Windows 10: Open the search box (press Win⊞ + S, type About Java, and hit Enter. If nothing comes up, please install the latest Java version from OpenJDK.
Alternatively, open a command prompt window (press Win⊞ + R,
type cmd, and hit Enter) and enter the command: java
-version
. This will output the version of Java installed on your
computer. If the command is not recognized, please install the latest
Java version from
OpenJDK:
choose the version “OpenJDK 11 (LTS)”, choose the VM “HotSpot”, choose
your platform (“Windows x32” or “Windows x64”), click “Download JRE”
and unzip the downloaded file somewhere.
You will need the path to your Java installation folder for the next steps, which can be found through File Explorer or Command Prompt.
If you got Java from http://adoptopenjdk.net, the installation path is where you unzipped it.
If you got Java from http://java.com, your Java installation path will likely resemble: C:\Program Files\Java\jre1.8.X_XXX.
You can find your Java installation path via one of these two methods:
Open a command prompt window and enter the command where java
(Windows 2003+).
Press Ctrl + M to enter “mark” mode, highlight the path to your installation directory (e.g. jre1.8.X_XXX), and copy it.
Open File Explorer (Win⊞ + R, type explorer, hit Enter), and browse for your Java installation folder. It will likely be installed in either Program Files\Java or Program Files (x86)\Java on your OS drive.
Once you find your Java folder,
You can now set or correct your JAVA_HOME variable via one of two methods:
setx JAVA_HOME -m "Path"
. For “Path”, paste
in your Java installation path .Confirm that your JAVA_HOME variable is now set correctly.
echo %JAVA_HOME%
. This should output the path
to your Java installation folder.
Once you have verified that your JAVA_HOME is set correctly, DAISY Pipeline 2 should start correctly. If you experience this problem again or any others, please visit our issue tracker.