Preparing the Environment > Install the Java Development Kit
  
Install the Java Development Kit
Install the latest version of the Java J2SDK on the Tomcat server. Download J2SDK for Tomcat from the Sun Microsystems Java Web site:
www.java.sun.com
After you download the setup file, start the installation by launching it. The installation process is automatic; accept all the default settings and grant any authorization requests.
To verify the install, at the UNIX or DOS prompt, enter:
java -version
The system displays information about the current Java version. If you receive an error message, make sure your PATH environment variable is set correctly.
Set JAVA_HOME
Tomcat and the QAD UI Connection Manager require the JAVA_HOME variable. Set this with operating system commands or add it to system or user startup scripts.
In UNIX environments, enter:
export JAVA_HOME=/javapath
In Windows environments, enter in a DOS window:
set java_home=c:\javapath
The Tomcat installation configures the catalina.bat or catalina.sh file to automatically set the JAVA_HOME variable based on your input. Record the JAVA_HOME information; you will need to verify it in later steps.