Live Forms v5.1 is no longer supported. Click here for information about upgrading to our latest GA Release.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Java Runtime Environment

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

  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.
    1. If your results retrieve a folder with the name 'jdk' immediately followed by a series of version numbers (for example, jdk1.5.0_06), then your Sun 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 step 2 to re-install the Sun JDK. Otherwise, proceed to step 3 to check that your JAVA_HOME environment variable has been set correctly.
    2. If you do not retrieve a result like this, then it is highly likely that your Sun JDK has not been installed.

 On This Page:

 

 

  • To install the Sun JDK, follow these instructions:
    1. Go to the Java Sun download page.
    2. Download the version entitled 'JDK 6 Update XX', where 'XX' stands for some number if the version of Live Forms you are using is under 5.x. (Sun will provide the latest version update for JDK 6 on that page.)  JDK version 1.7 is recommended for Live Forms version 5.x.
    3. 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.
    1. Open the 'Start' menu, choose 'Run', type cmd in the 'Run' dialog box and click the 'OK' button.
    2. In the command prompt window, type echo %JAVA_HOME% and then press Enter.
    3. View the result:
      1. If a directory path is display 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 Sun JDK in step 2, then your Sun JDK has been successfully installed and your JAVA_HOME environment variable has been set correctly. ''Examples of typical JAVA_HOME environment variable values'':
        1. C:\Program Files\Java\jdk1.6.0_17
        2. C:\Progra~1\Java\jdk1.6.0_17
        3. C:\Java\jdk1.6.0_17
        4. C:\jdk1.6.0_17
      2. 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 variable to the directory you where you have just installed the JDK. By default, this directory is under C:\Program Files\Java.

Locate the JDK Installation Directory 

If you already know the installation path for the Java or Software Development Kit, go to Step 2 below. Otherwise, find the installation path by following these instructions:

  1. Unless you changed the installation path for the Java Development Kit during installation, it will be in a directory under C:\Program Files\Java. Using Explorer, open the directory C:\Program Files\Java.
  2. Inside that path will be one or more subdirectories such as jdk1.5.0_08. 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\jdk1.5.0_08. This is the installation path.

Set the JAVA_HOME Environment Variable

Once you have identified the JDK installation path:

  1. Right-click the My Computer icon on your desktop and select 'Properties'.
  2. Click the 'Advanced' tab.
  3. Click the 'Environment Variables' button.
  4. Under 'System Variables', click 'New'.
  5. Enter the variable name as JAVA_HOME.
  6. Enter the variable value as the installation path for the Java Development Kit.
  7. Click 'OK'.
  8. Click 'Apply Changes'.

Return to installation instructions.

  • No labels