While installing on MacOS 10.5.x and having the Java Preferences set to JDK 1.6,
the installer fails to recognize the settings. When the server (asadmin
start-domain), it is done using JDK 1.5. Closer examination shows the
asenv.conf (<install directory>/config/asenv.conf) file has the following value
While the system has
$ echo $JAVA_HOME
$ $ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
and the Java Preferences (Macintosh HD -> Applications -> Utilities -> Java
Preferences) is set to Java SE 6 in the Java Applications frame.