Sun Java System Application Server Enterprise Edition 8.2 Release Notes for Microsoft Windows

Switching to Another Supported Java Version

Sun Java System Application Server 8.2 requires J2SE 5.0 or or a compatible version as the underlying JVM. If you want to switch from one Java version to another, perform the following general steps for both Windows and Unix OS.

ProcedureTo Switch to Another Supported Java Version

  1. Download the Java SDK (not the JRE) and install it on your system, if you have not already done so.

    The Java SDK can be downloaded from http://java.sun.com/j2se.

  2. Completely stop the Application Server.

    You can use the following command line:

    ApplicationServer-base\bin\asadmin.bat stop-domain


    
    

    Alternatively, you can use the Administration Console GUI:

    1. Click the Application Server node.

    2. Click Stop Instance.

  3. Edit the install_dir\config\asenv.conf file (asenv.bat on Windows), changing the value for AS_JAVA to point to the new J2SE home directory.

  4. Edit the as-install\samples\common.properties file, changing the line beginning com.sun.aas.javaRoot... to reference the new J2SE home directory.

  5. Restart the Application Server.


    ApplcationServer-base\bin\asadmin.bat start-domain