There's got to be a way! ;)
$JAVA_HOME/lib/security/java.policy?
$JAVA_HOME/lib/security/javaws.policy?
hg fclone http://hg.openjdk.java.net/jdk7/tl mytl; hack on vm;
compile; install?
There is always a way. hehe
-bp
On Mar 31, 2009, at 11:59 AM, Gili Tzabari wrote:
>
>
> You can't provide policy files for Webstart. Good try ;)
>
> Gili
>
> Brian Pontarelli wrote:
>> grant {
>> permission java.security.AllPermission "", "";
>> };
>>
>> ;)
>>
>> -bp
>>
>>
>> On Mar 31, 2009, at 5:35 AM, Gili wrote:
>>
>>> Attempting to use Guice under an unsigned Java Webstart
>>> application I
>>> get:
>>>
>>> Exception in thread "AWT-EventQueue-0"
>>> java.lang.ExceptionInInitializerError
>>> at com.google.inject.InjectorBuilder.<init>(InjectorBuilder.java:
>>> 54)
>>> at com.google.inject.Guice.createInjector(Guice.java:92)
>>> at com.google.inject.Guice.createInjector(Guice.java:69)
>>> at com.google.inject.Guice.createInjector(Guice.java:59)
>>> at videoease.Main$1.run(Main.java:46)
>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>> Caused by: java.security.AccessControlException: access denied
>>> (java.util.PropertyPermission guice.allow.nulls.bad.bad.bad 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 com.google.inject.internal.Errors.<clinit>(Errors.java:64)
>>> ... 13 more
>>>
>>> Any ideas?
>>>
>>> Gili
>>
>>
>>>
>>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---