Build Instructions for JSS 3.1Newsgroup: mozilla.dev.tech.crypto
Before building JSS, you need to set up your system as follows:
- Follow the Build Instructions for
NSS 3.3 Release,
except check out coreconf with the CVS tag
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
- 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.
- 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.)
- 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
- 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.
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
cd mozilla/security/jss gmake private_export gmake
Next, you should read the instructions on using JSS.