Detect Java Home before install