How do I detect whether 32-bit Java is installed on x64 Windows, only looking at the filesystem and registry