The following sections describe the requirements and actions that you need to build the JXTA Core.
JXTA Core has been built successfully on the following operating systems:
Linux
Solaris
Win32
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.
Build Requirements for Linux
Software Requirements |
Hardware Requirements |
---|---|
|
A PC with the following specifications:
|
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:
|
Build Requirements for Win32
Software Requirements |
Hardware Requirements |
---|---|
|
A PC with the following specifications:
|
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 . You DO NOT need to
download or use XERCES. JXTA has its own parser.to turn on support
define a variable on the make command line XERCES=true |
none |
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) |
pkg |
Compile and package Java Classes and selected docs into
jxta.zip for easy download |
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. |
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.
Change directory to
platform/binding/java
cd platform/binding/java
Build the JXTA Core
using the (gnu)make
tool.
(gnu)make [build
options]
Look for java classes in ./classes
directory
jxta.zip, jxta.jar in ./pkg directory
Last modified: Wed Feb 21 10:24:57 PST 2001