Help & FAQ:
Java 3D

Although some developers use the Java 3D library in conjunction with Open Source Physics, the OSP 3D API has not been implemented using the Java 3D library.  You must first install the Java 3D library in order to run Java 3D-based programs.

The Java 3D is available at:

https://java3d.dev.java.net/

Windows installation:   Although it is easy to copy Java 3D jar files into a Java binary (bin) directory, the version 1.4 of Java 3D uses an installer program that finds binary directories automatically.  Download and double-click on the Windows executable named "java3d-1_4_0-windows-i586.exe" and the installer copies the necessary files.  Note that the installer copies Java 3D into multiple locations if the computer has multiple versions of Java.

 

 

Mac OS X installation:

Java3D is already installed in System/Library/Java/Extensions, but this may not be the latest version. Because anything in a user's home directory overrides what is in the System, you can go to your home directory and add to the Java Library. Open the Library and create a folder named "Java" and a subdirectory "Extensions".  In this directory put the 3D libraries such as Java 3D and/or JOGL:

Java 3D

Java 3D

Jogl can be downloaded from <https://jogl.dev.java.net/>.