Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 
Training Index

Signing Jar files for Netscape Communicator with signtool

By MageLang Institute

Help | Solution | API Docs | Expected Output
Course Notes | Magercises | Module Intro

Prerequisites

Skeleton Code

Starting with the completed WordCount applet from the Using Netscape's Capabilities Classes magercise, sign the code to be used from anywhere on the Internet.

See the Signing Applets for Netscape Communicator course section for additional information.

Perform the following tasks:

  1. Add Netscape's capabilities classes to your CLASSPATH.

  2. Compile the program.

  3. Locate your code signing certificate to sign the code.

  4. If you have a certificate already, skip to the next step, if not create a testing certificate with signtool.

  5. Make a signing subdirectory. The signtool places everything from a particular directory tree into the Jar file.

  6. Copy the .class files into the subdirectory.

  7. Create the signed Jar file with signtool and the testing certificate.

  8. Verify the signing with signtool.

  9. Create an HTML loader for the applet, referencing the signed cab file.

  10. FTP Jar file and HTML loader to a web server and try it out.

  11. Load program into Communicator and try it out.

The task numbers above are linked to the step-by-step help page. Also available is a complete solution to the problem, and a demonstration of the expected behavior.

Copyright © 1998 MageLang Institute. All Rights Reserved.

[ This page was updated: 16-Nov-99 ]

Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-99 Sun Microsystems, Inc.
All Rights Reserved. Legal Terms. Privacy Policy.