Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java Plug-In and Permissions



We have a signed applet that uploads files from both Windows and Macintosh. On the Macintosh we MacBinary the files by using Greg Guerin's MacBinaryToolkit. This worked fine on Mac OS 9. But it does not work when using 10.2 and the Java Plugin, we have permission/access problems when executing the following code:

FileForker.SetFactory("glguerin.io.imp.mac.ten.TenForker");

It throws the following exception:

java.lang.ExceptionInInitializerError: java.lang.IllegalArgumentException: access denied (java.lang.RuntimePermission accessClassInPackage.com.apple.mrj.macos.frameworks)glguerin.io.imp.mac. ten.TenForker

Is there a way to get around this without having to edit he java.security file to allow access to the package com.apple.mrj.macos.*.

Any help is appreciated, thanks.

-dave
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.