# Re: java.policy is OK with Appletviewer, KO with Netscape

Jan Luehe (luehe@laguna.eng.sun.com)
Fri, 11 Dec 1998 12:41:11 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: info@inetsvs.com: "ADV:CREDIT CARD ACCEPTANCE"
- Previous message: Jan Luehe: "Re: Help me It's again javakey!!!!!"
- Maybe in reply to: Luigi Fonti: "java.policy is OK with Appletviewer, KO with Netscape"

Luigi:

> Well, if I run that applet using Appletviewer, it works successfuly;
> but if I run it using Netscape(4.06) or Internet Explorer(4.0), I get a
> security exception.
>
> The plug-in seems to be correctly installed on Netscape.
> The same policy file is replicated in different places:
>
> c:\Windows\.java.policy (this is the copy recognized by policytool)
> c:\Jdk1.2\jre\lib\security\java.policy
> c:\Program Files\JavaSoft\jre\1.2\lib\security\java.policy
>
> Should I put another copy of it some elsewhere in order to get Netscape
> working with it ?

Have you run your applet HTML file through the Plugin HTML converter?

This will map the APPLET tag to a Java Plug-in tag that will
cause the Plug-in to be loaded into your browser when you visit your
applet.

Check

http://java.sun.com/products/plugin/1.2/features.html
for more information.

Jan

- Next message: info@inetsvs.com: "ADV:CREDIT CARD ACCEPTANCE"
- Previous message: Jan Luehe: "Re: Help me It's again javakey!!!!!"
- Maybe in reply to: Luigi Fonti: "java.policy is OK with Appletviewer, KO with Netscape"