Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (815 KB)
Switching to Another Supported Java VersionSun Java System Application Server 9.1 requires J2SE 5.0 or greater as the underlying JVM. If you want to switch from one Java version to another, perform the following general steps. (Windows and Unix) Note – Downgrading to an earlier Java version is not recommended after a domain has been created with a newer Java VM. If you must downgrade your JVM, it is recommended that you do it on a per-domain basis. The following procedure describes how to do this.
|
as-install/bin/asadmin start-domain domain-name |
Log in to the Admin console and change the JVM attributes for the domain.
In particular, you may want to change the JAVA_HOME variable on the JVM Settings page for the domain.
Alternatively, you can use the asadmin command:
as-install/bin/asadmin set "server.java-config.java-home=Path-To-Java-Home" |