Andreas Neumann wrote:

Here is the output on my console:
--------------
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[...]
Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission user.home read)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
        at java.security.AccessController.checkPermission(AccessController.java:401)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

any idea on what could be wrong?

The problem is the 'enforce secure scripting' option in the Preferences->browser Options->security settings pane. When this is on everything executing in the context of the JavaScript jar file runs in the 'sand box' this prevents reading almost all properties including getting your home directory (which it only wants for the open file dialog :).

   This should probably be granted somehow although it
would in fact be tricky to do for now I suggest turning
off secure scripting while debugging.  Sorry about this.

I am using MacOSX 10.2.8 with "Java 1.4.1_01"

Am I missing something or should there be somethin in my CLASSPATH?

Thanks,
Andreas

-- The only thing that stands between a man and what he wants from
life is often merely the will to try it and the faith to believe
that it is possible ...
-- M. DeVos
---------------------------------------------- Andreas Neumann - Department of Cartography Swiss Federal Institute of Technology (ETH) ETH Hoenggerberg, CH-8093 Zurich, Switzerland Phone: ++41-1-633 3031, Fax: ++41-1-633 1153 e-mail: [EMAIL PROTECTED] www: http://www.karto.ethz.ch/neumann/ SVG.Open/Carto.net: http://www.svgopen.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to