Adding basic support for Windows viewer. Using JAVA_HOME environment variable in Windows for checking correct Java configuration.