Build Process
(JXTA Core )

The following sections describe the requirements and actions that you need to build the JXTA Core.

Build Requirements

JXTA Core has been built successfully on the following operating systems:

Before you begin building, you must ensure that your system satisfies the recommended software and hardware requirements for the type of system you are working on.

Linux

Build Requirements for Linux
Software Requirements Hardware Requirements
A PC with the following specifications:
  • Intel Pentium II
  • 32/64 MB RAM
  • 5 MB free disk space

Solaris

Build Requirements for Solaris
Software Requirements Hardware Requirements
For Solaris/x86 same requirements as for Linux. For Solaris/Sparc a Sparc Ultra 2 with the following specifications:
  • 128 MB RAM
  • 5 MB free disk space

Win32

Build Requirements for Win32
Software Requirements Hardware Requirements
A PC with the following specifications:
  • Intel Pentium II
  • 64 MB RAM
  • 5 MB free disk space

Build Flags

Following build flags can be used to set customized values.
Build Flags
Flag Description Default Value
JAVA_HOME Path to JDK home to be used for compilation undefined - defaults to one in your PATH
JXTAXMLLIB Xerces.jar - XML lib to be used ../../../platform/binding/java/pkg/xerces.jar
CLASSPATH Class Path to be used ./classes
XERCES by default support for XERCES is off to turn on support define a variable on the make command line XERCES=true

The version of xerces supported is 1.3
you can download the library from
http://xml.apache.org/dist/xerces-j/

you need to add xerces.jar to the classpath,
and define an env variable JXTAXMLLIB pointing to the path of xerces.jar
none

Build Options

Following table specifies the build options for Core project.
Build Options
Option Action
compile Compile all Java Classes
All Compile all Java Classes - same as compile
jar Compile and package Java Classes into a jar file (jxta.jar)
Places classes and jar files under platform/binding/java/classes
pkg Compile and package Java Classes and selected docs into jxta.zip for easy download
Places zip files under platform/binding/java/pkg
javadoc Generate JavaDocs for all the java classes
clean Delete classes, jar file and packages.
clobber Delete classes, jar file and packages - same as clean.

Building Core Project

  1. Download an appropriate build of JXTA core project from the Core Downloading Files page. Or Checkout an appropriate snapshot of JXTA Core tree from the Core Downloading sources page and follow the Core build instructions to build core.
  2. Change directory to platform/binding/java
    cd platform/binding/java
  3. Build the JXTA Core using the (gnu)make tool.
    (gnu)make [build options]
  4. Look for java classes in ./classes directory
    jxta.zip, jxta.jar in ./pkg directory

Kuldip Singh Pabla
Last modified: Wed Feb 21 10:24:57 PST 2001