Section | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
- To install the Sun JDK, follow these instructions:
- Go to the Java Sun download page.
- 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.
- 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.
- Open the 'Start' menu, choose 'Run', type cmd in the 'Run' dialog box and click the 'OK' button.
- In the command prompt window, type echo %JAVA_HOME% and then press Enter.
- View the result:
- 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'':
- C:\Program Files\Java\jdk1.6.0_17
- C:\Progra~1\Java\jdk1.6.0_17
- C:\Java\jdk1.6.0_17
- C:\jdk1.6.0_17
- 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.
- 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'':
Setting the JAVA_HOME Environment Variable
This information is only relevant if you are installing frevvo on a Windows server. After you have installed the Java Development Kit (JDK) in Windows, you must set the JAVA_HOME environment variable to the JDK installation directory.
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:
- 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.
- 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 Environment Variable
Once you have identified the JDK installation path:
...