Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Release Notes

Switching to J2SE 5.0

Sun Java System Application Server 8.2 2006Q1 supports J2SE 5.0 as the underlying JVM, however the bundled PointBase database does not. If you want to use J2SE 5.0 instead of the bundled J2SE 1.4.2 to run the Application Server, perform the following steps (Windows and Unix):

ProcedureTo switch to J2SE 5.0

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

    The J2SE 5.0 SDK can be downloaded from

  2. Completely stop the Application Server.

    You can use the following command line:

    as-install/bin/asadmin stop-domain

    or 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 J2SE 5.0 home directory:

  4. Edit the as-install /samples/ file, changing the line beginning com.sun.aas.javaRoot... to reference the J2SE 5.0 home directory.

  5. Restart the Application Server.

    as-install/bin/asadmin start-domain

    Note –

    If you are upgrading from a JDK version earlier than the bundled version (JDK 1.4.2_06) then you cannot upgrade to J2SE 5.0 using just the steps above. Specifically, in addition to the above steps, you must delete any existing domains and recreate them.