The bootstrapping process does not require, AFAIK, JAVA_HOME. It only needs a java executable. I have a local patch for the issue, but I'm trying to explore the perl route, so I'll integrate the concept there.