Example programs and tutorials are available at
http://java.sun.com/products/java-media/jai/ and
http://java.sun.com/products/java-media/3D/ IIRC, the Apple installer adds the JAI and J3D libraries to your
Java Extensions folder, so you dont't need to add them to your classpath. Just compile and run the sample programs.
Ulf