Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

Solution 2

The J2SE version can be changed on a per-domain basis by modifying the java-home attribute for the java-config element in the domain’s domain.xml file.

<java-config ...
java-home="path"
...\>