Необходимо, вероятно, запустить путем более тщательно изучения каталоги снимка для очевидного (достаточно свободного места, прав, и т.д.).
Is it not possible to check if java is found and executable?
test -x "$(which java)" && java -version 2>&1
or if you want to get around test and check for java-errors, too
java -version 2>/dev/null 1>/dev/null && java -version 2>&1
You can redirect to additional descriptors. This is for bash, I think it works for ksh too:
exec 3>javalog
java ... 2>&1 >&3
exec 3>&-