I really don't understand why the asadmin scripts are
hard coded to launch java from a location cached during
installation rather than trying to use JAVA_HOME first.
Can anyone shed some light on this?
asadmin runs "$AS_JAVA/bin/java" and AS_JAVA is hard
coded to whatever $JAVA_HOME happened to be when you ran
"ant -f setup". If you install a new version of java and
assume that the GF scripts are smart enough to check
JAVA_HOME, then you will probably waste time trying to
figure out why your code still isn't working like I did.
--Ryan