Set JVM_ROOT to current JVM root
Print some debugging info when $JAVAPACKAGES_DEBUG is set