ceylon/ceylon-compiler — comment on commit 0a6b400ad8712c3f550e8dd1792ce4e82e36b1a2
File:  line 0
By quintesse:

Well yes, except that JAVA_HOME does not have to exist. If it doesn't exist Java takes it to be ".." from where the executable lives.