The following sections describe the requirements and actions that you need to build the InstantP2P (IP2P):
JXTA InstantP2P 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.
Software Requirements | Hardware Requirements |
---|---|
|
A PC with the following specifications:
|
Software Requirements | Hardware Requirements |
---|---|
|
For Solaris/x86 same requirements as for Linux. For Solaris/Sparc
a Sparc Ultra 2 with the following specifications:
|
Software Requirements | Hardware Requirements |
---|---|
|
A PC with the following specifications:
|
Flag | Description | Default Value |
---|---|---|
JAVA_HOME | Path to JDK home to be used for compilation | undefined - defaults to one in your PATH |
JXTACORELIB | JXTA Core lib to be used | ../../../platform/binding/java/classes/jxta.jar |
JXTACMSLIB | JXTA Content Management System lib to be used | ../../../instantp2p/binding/java/classes/jxta.jar |
JXTASECLIB | jxtasecurity.jar - JXTA Security lib to be used | ../../../security/binding/java/classes/jxtasecurity.jar |
CLASSPATH | Class Path to be used | ./classes |
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 (instantp2p.jar) Places classes and jar files under instantp2p/binding/java/classes |
pkg | Compile and package Java Classes and selected docs into instantp2p.zip
for easy download Places zip files under instantp2p/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. |
You can use a prebuild version of JXTA Core, JXTA Security and JXTA CMS to build InstantP2P demo. Having a prebuild version is necessary because the IP2P demo has dependencies on the JXTA Core, JXTA Security and JXTA CMS. IP2P builds all the modules required for InstantP2P demo. This includes "File Sharing", "Secured/Unsecured Chat and Group Chat" and "Group Management". To build IP2P demo, you must follow these steps:
(gnu)make
tool.