System.getProperty("os.name"), SunVM and J9 reports different names

Hi,

Sun VM and J9 (2.3 PPRO11) reports different OS Names on the same machine for System.getProperty("os.name").

e.g. in my case "Windows Server" and "Windows Server 2003".

Is this a bug (exists there any standard for the OS names?) or usual behavior?

Its annoying if you use OSGI Bundles with native code libraries, you have to specify the exact os name in the manifest, so you have to test it not just on every os but with all cominations of OSxVM.

Any suggestions?

Best regards

Bernd

[535 byte] By [soegala] at [2007-10-3 5:19:19]
# 1
I'd suggest that it's a bug that is a usual feature. One is more detailed than the other. Not much you can do about it except to ask whichever the less detailed one is to implement that in their next version of the VM
MBlissa at 2007-7-14 23:26:14 > top of Java-index,Java Mobility Forums,Java ME Technologies...