Verifying the Derby system configuration You should confirm that your computer has the correct software installed and that the environment variables are set before you start working with . Java Development Kit versionverifying JDK versionverifyingWorking with Derby activitiesprerequisitesprerequisitesWorking with Derby activitiesenvironment variablesverifying JAVA_HOME environment variableverifying DERBY_HOME environment variableverifying

To check the system configuration:

Verify that the java executable file, version @MINIMUM_JDK@ or higher, is in your command execution PATH by opening a command window and running the java -version command. The output from the command looks something like this: java version "9" Java(TM) SE Runtime Environment (build 9+181) Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode) The output you see might be different from what is shown here because the java -version command outputs vendor-specific information. If the command produces an error or the version listed is not @MINIMUM_JDK@ or higher, install a JDK before continuing. Verify that the environment variable is set and points to the root directory of the   installation. Open a command window and run the appropriate command for your system. If you installed in the /opt/ directory on UNIX or the c:\ directory on Windows, the command that you use and the expected output are shown in the following table. Verifying the <ph conref="../conrefs.dita#prod/productinstallpath"></ph> settingThis table lists the commands to verify the setting of on UNIX and Windows systems. Operating System Command Output UNIX (Korn Shell) echo $DERBY_HOME /opt/Derby_10 Windows echo %DERBY_HOME% C:\Derby_10
If you receive an error or do not see the expected output, ensure that you have set the environment variable, as described in .
You can also use the sysinfo utility to verify that the environment variables are set correctly. If the environment variables are set correctly, the sysinfo command displays information about your Java virtual machine (JVM) and the version of that you have installed.