Hello
I am writing a Java Applet. When run on Windows, I need to be able to get the clients OS version, e.g. Windows XP SP3 or Windows 2000 SP4.
I can currently use the following:
String os_name = System.getProperty( "os.name" );
String os_version = System.getProperty( "os.version" );
System.out.println( "Running on " + os_name + "(" + os_version + ")" );
And it will output something like "Running on Windows 2000 (5.0)" which is great but I need to be able to get the service pack version too.
Anybody know how I can get the underlying service pack version of a Windows machine from within a Java applet? (Without throwing an AccessControlException, or ideally without having to self sign the applet).
Many thanks in advance.