nice try to detect JAVA_HOME

it's boring to set up JAVA_HOME on Windows.
in most cases we can guess it.