TeamJava Forum
[ Read Responses | Post a New Response | Return to the Index ]
[ Previous | Previous in Thread | Next ]
Re: Applets and IE
Posted by Wamiq Ansari on Sunday, 29 June 2003, at 10:46 p.m., in response to Applets and IE, posted by NSriram on Sunday, 25 May 2003, at 3:27 p.m.
Hi,
I'm not sure of my solution but it seems to be working for me for the moment.
I have installed JRE v1.4 and made the following addition to the java.policy file, which is present in the lib/security folder.
grant {
permission java.lang.RuntimePermission "accessClassInPackage.sun.jdbc.odbc";
permission java.util.PropertyPermission "file.encoding", "read";
permission java.security.AllPermission;
};
IMPORTANT: After making the above addition, I had to open Java Console through Java Plugin Control Panel Application and Select option 'r'- reload policy configuration.
This made my applet to run in Netscape 7 but not in IE 6.0. In order to run the applet under IE 6.0, I had to run Java Plugin Control Panel Application select 'Broswer' tab and tick Internet Explorer checkbox. This enabled my IE 6.0 to use sun java 2 runtime environment.
I hope this was of any help to you.
regards,
Wamiq
com.ms.security.SecurityExceptionEx
Responses
Post a New Response
The TeamJava Forum is maintained with WebBBS 2.24.