Signing Java code using JDK 1.1.8

To digitally sign Java code for Macintosh OS 9 one needs to use self-signed certificates and the JDK 1.1 signing system.  This page describes how to do this signing on Windows.

It is possible to do the signing on a Macintosh, though some have difficulty getting the procedure to work.  This page focuses on Windows since many Java developers use Windows as their development environment. 

To follow this procedure you need Sun's JDK 1.1.8 or IBM's JDK 1.1.8.  Sun's version is more easily available, but it crashes on Windows XP.   

Here are cookbook instructions for creating certificates and signing using generic names and choices:

 
This is very cookbook but it should work and allow you to get started. 

For those interested platforms where real certificates can be used, Thawte has some step-by-step instructions that are helpful but not always complete.  For OS X one can use Java 2 signing; one can also use Netscape signing for Java 1 code running on OS X. 

If you comments or suggestions please contact Mickey Segal.  A listing of  many Java resources is at this link.