Any remote asadmin command needs in java on the remote machine and such
command use just a default java, if appserver was installed through unzipping
an archive. Users have to be advised to execute from machine A: ssh <machine B>
java -version. And if it is not JDK 6, change it. For example, on Solaris and
Linux recreate /usr/bin/java link pointing to the suitable java.
Or by setting AS_JAVA pointing on the correrct java in config/asenv.conf on the
Also I want to mention that usually /usr/bin/java is linked with jdk 4 or 5.
So there will be error messages (for jdk4 a bad error message).