Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Release Notes

- Previous: Upgrading the Sun Java System Application Server
- Next: Other Requirements

## To switch to J2SE 1.4.2

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

   The J2SE 1.4.2 SDK can be downloaded from `http://java.sun.com/j2se/1.4.2/`

2. Stop the Application Server.

   From the command line:

       install_dir/bin/asadmin stop-domain

   From the Administration Console:

   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 1.4.2 home directory:

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

5. Restart the Application Server.

   From the command line:

       install_dir/bin/asadmin start-domain

   From the Administration Console:

   1. Click the Application Server node.

   2. Click Start Instance.

- Previous: Upgrading the Sun Java System Application Server
- Next: Other Requirements

- © 2010, Oracle Corporation and/or its affiliates