You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Build Instructions for JSS 4.2.5

Newsgroup: mozilla.dev.tech.crypto

Before building JSS, you need to set up your system as follows:

  1. Build NSPR/NSS by following the build Instructions for NSS 3.11.4 Release,
  2. To check that NSS built correctly, run all.sh (in mozilla/security/nss/tests) and examine the results (in mozilla/test_results/security/computername.#/results.html.

  3. Install a Java compiler and runtime. JSS supports Java version 1.5 or later. We suggest you use the latest.

  4. You must have Perl version 5.005 or later.
Now you are ready to build JSS. Follow these steps:
  1. Switch to the appropriate directory and check out JSS from the root of your source tree.
    cvs co -r JSS_4_2_5_RTM mozilla/security/jss
    
  2. Setup environment variables needed for compiling Java source. The JAVA_HOME variable indicates the directory containing your Java SDK installation.

    Unix
      setenv JAVA_HOME /usr/local/jdk1.5.0 (or wherever your JDK is installed)
      
    Windows NT
      set JAVA_HOME=c:\programs\jdk1.5.0 (or wherever your JDK is installed)
      
    Windows NT (Cygnus)
      JAVA_HOME=/cygdrive/c/programs/jdk1.5.0 (or wherever your JDK is installed)
      export JAVA_HOME
      
  3. Build JSS.

    cd mozilla/security/jss
    gmake
    

Next, you should read the instructions on using JSS.