Configuring Java SE and Java EE

Regardless of which Java™ SE and Java EE you use, you must complete the following configuration steps.

About this task

You might need multiple versions of Java SE and Java EE installed on a single computer. For this reason, you can choose the scope for these Microsoft Windows environment variables. For example, system wide, or through a script file or symbolic links.

Procedure

  1. Create a JAVA_HOME environment variable that points to the installed Java SE.
  2. Place %JAVA_HOME%\bin at the beginning of the PATH environment variable.
  3. Create a J2EE_JAR environment variable that points to the installed Java EE JAR file; depending on your environment that can be one of the following options:
    • For IBM® WebSphere® Application Server, point to %WAS_HOME%\lib\j2ee.jar.
    • For Oracle WebLogic Server, point to %WLS_HOME%\lib\weblogic.jar.
    • For Oracle Java, Platform EE SDK, point to the installation_directory of the Java EE JAR file, for example: C:\Sun\SDK\lib\j2ee.jar