You are currently viewing a snapshot of 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, please file a bug.

Build Instructions for JSS 3.1


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

  1. Follow the Build Instructions for NSS 3.3 Release, except check out coreconf with the CVS tag JSS_3_1_RTM instead of NSS_3_3_RTM. That is, step 3 of the NSS 3.3 build instructions should proceed as follows when you are building JSS 3.1:
      cvs co -r NSPRPUB_RELEASE_4_1_2 mozilla/nsprpub 
      cvs co -r NSS_3_3_RTM mozilla/dbm mozilla/security/nss mozilla/security/dbm
      cvs co -r JSS_3_1_RTM mozilla/security/coreconf
  2. To check that NSS built correctly, run (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.2 or later. For information on downloading and installing the java tools you need, go to the Sun Java Site and choose JDK from the pull-down menu labeled The Java Platform. On the next page you see, click the most recent release (currently "Java SDK Standard Edition, v. 1.3")

    (If you really need to run with JDK 1.1, here are some tips on getting it to work.)

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_3_1_RTM mozilla/security/jss
  2. Windows Only: You no longer need to do the shell hack required for building JSS 3.0. You should simply let gmake use shmsdos.exe as its shell, which is the default.
  3. Setup environment variables needed for compiling Java source.


      setenv JAVA_HOME /usr/local/jdk1.2.2 (or wherever you installed the JDK)
    Windows NT
      set JAVA_HOME=c:\programs\jdk1.2.2 (or wherever you installed the JDK)
    Windows NT (Cygnus)
      JAVA_HOME=/cygdrive/c/programs/jdk1.2.2 (or wherever you installed the JDK)
      export JAVA_HOME
  4. Build JSS.

    cd mozilla/security/jss
    gmake private_export

Next, you should read the instructions on using JSS.