Never mind, I see the problem. I thought I read something that said the best way to check for Mac OS X was to look for the mrj.version property. However, it appears that I should be looking at the os.name property. Fixed.

On Jun 9, 2009, at 11:57 AM, Greg Brown wrote:

I thought I fixed that. Where are you trying to run it from?

On Jun 9, 2009, at 11:49 AM, Sandro Martini wrote:

Hi to all,
I've just tried the Kitchen Sink Demo via Web Start, but this time
with the new Java 6 Update 14 (as always under Windows XP).

Now it gives the following exception:

java.security.AccessControlException: access denied
(java.util.PropertyPermission mrj.version read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
        at java.security.AccessController.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
        at java.lang.System.getProperty(Unknown Source)
        at pivot.wtk.DesktopApplicationContext.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Someone has the same problem ?
On Windows too (with other Java versions) ?

Bye,
Sandro


Reply via email to