Dear All,
I am running my JApplet in Netscape using the JRE plugin. On
clicking a button I want to open up NetMeeting.
This is what I am doing.
--------------
Runtime r = Runtime.getRuntime();
try
{
Process p = r.exec("c:/Progra~1/NetMee~1/conf.exe");
}
catch(IOException io) { }
--------------
I also set the FilePermission using the Policy Tool
--------------
grant codeBase "file:/C:/Progra~1/NetMee~1/-" {
permission java.io.FilePermission "<<ALL FILES>>", "execute";
};
--------------
But I still get this error:
--------------
java.security.AccessControlException: access denied
(java.io.FilePermission c:/Progra~1/NetMee~1/conf.exe execute)
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.checkExec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at matrix.client.VoicePackage.openVoicePackage(VoicePackage.java:19)
--------------
Can somebody please tell me what is going wrong?
Thanks
Tina
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".