Try these on the client, and see what values are returned for OSX vs Windows:
print system.util.getProperty("os.arch")
print system.util.getProperty("os.name")
print system.util.getProperty("os.version")
Try these on the client, and see what values are returned for OSX vs Windows:
print system.util.getProperty("os.arch")
print system.util.getProperty("os.name")
print system.util.getProperty("os.version")