Building
the Java 3D examples programs
To build the Java 3D examples programs, you must first download
the j3d-examples
CVS repository:
System Requirements
Any operating environment that supports J2SE and Java 3D should
work.We have built j3d-examples on the following operating environments:
- Solaris: Sparc (Ultra60 or better) running Solaris 9
- Linux: i386/i586 running SuSE 9 or RedHat 9.0
- Windows: Windows/XP (Windows
2000 should work, but is untested)
The following software must be installed:
Building
j3d-examples
Before you start building, please check that your PATH must
include the
following directories:
. <ant-root-dir>/bin
. <jdk-root_dir>/bin
NOTE that Java 3D must be installed into the JDK that you have in your
path OR you must put the Java
3D & vecmath jar files in your CLASSPATH and the Java 3D libraries
in your LD_LIBRARY_PATH.
To build all examples:
cd <java3d-root>/j3d-examples
ant
This will build all example programs, each one being placed in the
corresponding src/<ExampleProgram> directory. You may run
ant from a subdirectory in order to just build that program. For
example, to
build the HelloUniverse program:
cd <java3d-root>/j3d-examples/src/HelloUniverse
ant