Build Instructions for JSS 3.1.1
Newsgroup: mozilla.dev.tech.cryptoBefore building JSS, you need to set up your system as follows:
- Follow the Build Instructions for
NSS 3.3.1 Release,
except check out coreconf with the CVS tag
JSS_3_1_1_RTM
instead ofNSS_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.1:cvs co -r NSPRPUB_RELEASE_4_1_2 mozilla/nsprpub cvs co -r JSS_3_1_1_RTM mozilla/security/coreconf cvs co -r NSS_3_3_1_RTM mozilla/dbm mozilla/security/dbm cvs co -r NSS_3_3_1_RTM mozilla/security/nss
- 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.
(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_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.
Unixsetenv JAVA_HOME /usr/local/jdk1.2.2 (or wherever you installed the JDK)
Windows NTset 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
Build JSS.
cd mozilla/security/jss gmake private_export gmake
Next, you should read the instructions on using JSS.