Re: help please

Roland Schemers (Roland.Schemers@Eng)
Mon, 26 Jan 1998 12:10:49 -0800 (PST)

From: Roland.Schemers@Eng (Roland Schemers)
Message-Id: <199801262010.MAA28669@crypto.eng.sun.com>
Subject: Re: help please
To: leon@home.com (Leon Kofman)
Date: Mon, 26 Jan 1998 12:10:49 -0800 (PST)
In-Reply-To: <34CBE583.9B9FF2A3@home.com> from "Leon Kofman" at Jan 25, 98 08:23:15 pm

>
> Folks,
>
> I am having a tough time creating a signed JAR (running it actually).
> I am using jdk 1.1.4 and am following all the directions from the "duke"
> example at http://java.sun.com/security/signExample/doit.

Is this on windows? There was a bug in 1.1.4 that caused the signing to
be ignored. There is a work around if you'd like it, otherwise I would
suggest you grab 1.1.5 which fixed the bug.

> How does one get 'sun.applet.AppletSecurityException: checkpropsaccess'?

You get that by trying to do a System.getProperties or System.setProperties
call.

> I can run my applet in the appletviewer. However, when I make a jar
> from the .class file in which extends Applet and a directory with my
> "package/*.class" files, I get the exception above.
>
> Any help on this would be greatly appreciated. Also, how does one sign
> archives with digital ID's from VeriSign (or other SA's)?

Currently that is not supported. The JDK only supports DSA, as we don't
have permission from RSA to include the necessary algorithms in the
JDK to parse jars signed with RSA. We are trying to work on a
solution for this...

thanks, roland