Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

You must install the Oracle supported version of OpenJDK Java Development Kit (JDK) or the Java Runtime Environment (JRE) before installing . Although will run with either JAVA package, the The Insight Server requires the JAVA_HOME environment variable to be set to the installation directory for the Java package that you install. .

Info

This page refers specifically to a JDK or JRE installation on a Windows system. If you are installing on Unix you will need to adjust some of the specifics accordingly.

Follow the steps below:

Column
width240px

 On This Page:

Table of Contents
maxLevel1
 

Check to see if

...

JDK

...

is already installed

If you are not sure whether you have Oracle's JDK or JRE the supported version of JDK installed correctly, please confirm by doing the following:

  1. Run a complete directory search  for the JDK/JRE
    1. Run a complete directory search(using the 'All File and Folders' option if available) on your drives for the occurrence of 'jdk' in the filename to search for the JDK.

      Run a complete directory search (using the 'All File and Folders' option if available) on your drives for the occurrence of  'jre' in the filename to search for the JRE

      .

      1. If your results retrieve a folder with the name 'jdk' immediately followed by a series of version numbers (for example, jdk1jdk-11.80.0_222), then your Oracle JDK has been installed. You should double-check the contents of this folder to ensure that the installation files are intact. If you are unsure about this, proceed to Install the Oracle JDK section  section to re-install it. Otherwise, proceed to the step 4  in that section to check that your JAVA_HOME environment variable has been set correctly.If your results retrieve a folder with the name 'jre' immediately followed by a version number (for example, jre8), then your Oracle JRE has been installed. You should double-check the contents of this folder to ensure that the installation files are intact. If you are unsure about this, proceed to the Install the Oracle JRE section to re-install it. Otherwise, proceed to step 4 4 in that section to check that your JAVA_HOME environment variable has been set correctly.
    1. If you do not retrieve results as explained above, then it is highly likely that your Oracle JDK or JRE has has not been installed. Go to the applicable installation section below for the instructions.

Install

...

JDK

 To install the Oracle JDK, follow these instructions:

  1. Go to Download the supported version of Java download page.Download the JDK version 1.8. JDK. There are several vendors who source the supported JDK version as OpenJDK. Here are two suggested resources: 
    1. Oracle OpenJDK
    2. Adopt OpenJDK
      For more information about selecting an OpenJDK vendor click here
  2. When the download has finished, run the Java installer. At one point, you will be asked to choose a directory to install to. Copy or write this directory down for use later.Check that the JAVA_HOME environment variable has been set correctly.
  3. Open the 'Start' menu, choose 'Run', type cmd in the 'Run' dialog box and click the 'OK' button.
  4. In the command prompt window, type echo %JAVA_HOME% and then press Enter.
  5. View the result:
  6. If a directory path is displayed that looks similar to one of the following examples, with the letters 'jdk' immediately preceding a series of version numbers, and this path matches the location where you installed the Oracle JDK in step 3, then your Oracle JDK has been successfully installed and your JAVA_HOME environment variable has been set correctly. ''Examples of typical JAVA_HOME environment variable values'':
  7. C:\Program Files\Java\jdk1.8.0_22
  8. C:\Progra~1\Java\jdk1.8.0_17
  9. C:\Java\jdk1.8.0_17
  10. C:\jdk1.8.0_17
  11. If nothing is displayed or you do not see 'jdk' immediately followed by a series of version numbers (like one of the examples above), then you need to set the JAVA_HOME environment variable. Please follow these instructions to set your JAVA_HOME environment to the directory where you have just installed the JDK. By default, this directory is under C:\Program Files(x86)\Java for a 32 bit Windows System. You will find it under c:\Program Files on a 64 bit Windows system

Install the Oracle JRE

To install the Oracle JRE, follow these instructions:

...

  1.  extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.
  2. Select Control Panel and then System.

  3. Set a PATH:

    1. Click Advanced and then Environment Variables.
    2. Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
    3. The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-11\bin"
  4. Set JAVA_HOME:

    1. Enter the variable name as JAVA_HOME.
    2. Enter the variable value as the installation path of the JDK (without the bin sub-folder).
    3. Click OK.
    4. Click Apply Changes
  5. To see if it worked, open up the Command Prompt and type java -version and see if it prints your newly installed JDK.
Note
titleUpgrading Java

Check that you have replaced the Path and JAVA_HOME environment variables from any prior versions of Java with values that point to the new version. You may need to uninstall the prior Java version and restart your server.

Locate the JDK Installation Directory 

If you already know the installation path for the Java or Software Development Kit, go to the Set the JAVA_HOME Environment Variable section below. Otherwise, find the installation path by following these instructions:

  1. Unless you changed the installation path for the Java Development Kit or the Java Runtime Environment during installation, it will be in a directory under C:\Program Files(x86)\Java for a 32 bit architecture and under c:\Program Files for a 64 bit Windows system. Using Explorer, open the directory C:\Program Files(x86) or Program Files\Java.
  2. Inside that path will be one or more subdirectories such as jdk1jdk11.80.0_222. If you have just installed the Java Development Kit, it will be installed to the newest directory, which you can find by sorting by date. For example, it may be installed in C:\Program Files\Java\jdk1jdk11.80.0_222. This is the installation path.
  3. An example of an installation path for the JRE on a 64 bit windows system would be c:\Program Files\java\jre1.8.0_22

Set the JAVA_HOME Environment Variable

Once you have identified the JDK /JRE installation path:

  1. Open the Control Panel.
  2. Click the System icon
  3. Click Advanced System Settings.
  4. Click the Environment Variables button.
  5. Under System Variables, click New.
  6. Enter the variable name as JAVA_HOME.
  7. Enter the variable value as the installation path for the Java Development Kit or the Java Runtime Environment.
  8. Click 'OK'.
  9. Click 'Apply Changes' or 'OK'

Return to Quick Start Installation Guide for Live Forms frevvo in house if you are evaluating or to Database Setup if you are configuring an external database in your in-house environment.