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

Please select: Discussion Question Answer
Pulse Check - enter num: 1062452849

Your Name:

E-Mail Address:

Subject:

Message:


If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:

Optional Link Title:


If you'd like to have the option of deleting your post later,
please provide a password (CASE SENSITIVE!):

Password:



Password:

The TeamJava Forum is maintained with WebBBS 2.24.


TeamJavaHome | Ind. Registry | Co. Registry | Java Links
Jobs Listings Forum | TeamJava Books | Java FAQ Archives

AWN

Copyright © 1995-2003 Active Web Networks, all rights reserved.
(Note: We share no direct association with Sun Microsystems, Inc.)