| Settings java permissions for a particular plug-in [message #91767] | 
Wed, 03 August 2005 14:08  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: tata668.gmail.com 
 
Hi, 
 
I'm developping an Eclipse plugin and it uses RMI to connect to another  
server. I have to set some java permissions in order to make this plugin  
works (java.net.SocketPermission and others). 
 
My plugin works when I debug it using the RUN configuration inside Eclipse  
by launching a new workspace with  
"-Djava.security.policy="C:\pathToMySecurityFile" in the VM Arguments. 
 
But where do I put this "-Djava.security.policy" line in normal mode, when  
the plug is installed? Do I necessarily have to start the whole Eclipse  
with the right permissions or is there a way to give the needed  
permissions to my plugin only? 
 
Thanks a lot!
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.29940 seconds