Java detection for Windows