Run a JDK1.2-signed applet
To run my little test applet which writes a text-file into
your home directory you need an installed version of
JRE 1.2 (better 1.22) and have to do the following steps:
- save the certificate "Joe.crt" (valid to 17.02.2000; only
self signed) locally onto your hard disk into some directory:
with "save as" onto: Joe.crt
- import the certificate into your local keystore file:
keytool -import -keystore yourKeystoreFile -file Joe.crt -alias joe
- add these lines into
your JDK1.2 policy file. Your global policy-file is located
in your JRE-directory (JRE-HOME/1.2/lib/security/java.policy) and
your user policy-file is located in your home directory
(USER-HOME/.java.policy).
Now you can execute my applet, which writes the file
test.txt into your home directory:
18. November 1999, Josef Willenborg