well, the typo with JAVA_HOME is pretty obvious. the question is how to handle stderr output from realpath then, redirecting stderr was added due to bug#1218232 if 15.6 did not have that then this is a build based on an older snapshot of updates and the next milestone will have that same change.