REALLY URGENT - Java 3D API for Mac OS X question

Howdy guys,

I am a student at Flinders Uni here in SA and am doing Computer Project in my final semester. We are in week three, and I have to have something working by next Thursday. My assigned area is working on 3D GUI stuff in Java, and I need to get it to work in Mac OS X, of which Apple says, “we are working on it”.

Has anyone been able to get anything to work, e.g.: the Linux version available at: http://www.blackdown.org/java-linux/jdk1.2-status/java-3d-status.html

Or maybe what Apple suggests, i.e.: GL4Java?

Tried to install the Linux 1.3.1 binaries from: http://java.sun.com/products/java-media/3D/ports.html


[MyCPU:/Developer/Java/Java3DAPI] jamo% sh /Users/jamo/Desktop/java3d-sdk-1.3.1-beta-linux-i386.bin
Sun Microsystems, Inc.
Binary Code License Agreement
JAVA 3D[TM] API, VERSION 1.3.1, BETA RELEASE

READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY “AGREEMENT”) CAREFULLY BEFORE OPENING THE SOFTWARE MEDIA
PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF


DEVELOPMENT TOOLS
JAVA 3D[TM], VERSION 1.3.1, BETA RELEASE
SUPPLEMENTAL LICENSE TERMS

Note: Some portions of Software are provided with notices and/or licenses
from other parties that govern the use of those portions, including the
README file named README-LICENSE.

For inquiries please contact: Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, California 9
5054.

Do you agree to the above license terms? [yes or no]
y
Verifying archive integrity…OK
Uncompressing Blackdown Java3D SDK 1.3.1-beta for Linux/i386LICENSE-Java3D
README-Java3D
demo
demo/java3d
demo/java3d/AlternateAppearance
demo/java3d/AlternateAppearance/AlternateAppearanceBoundsTest.html
demo/java3d/AlternateAppearance/AlternateAppearanceBoundsTest_plugin.html



demo/java3d/index.html
java3d-utils-src.jar
jre
jre/lib
jre/lib/ext
jre/lib/ext/vecmath.jar
jre/lib/ext/j3dcore.jar
jre/lib/ext/j3dutils.jar
jre/lib/ext/j3daudio.jar
jre/lib/i386
jre/lib/i386/libj3daudio.so
jre/lib/i386/libJ3DUtils.so
jre/lib/i386/libJ3D.so

Still having problems though, probably related to attempts to access “Linux on 386” native code (3x .so files):


java.lang.UnsatisfiedLinkError: no J3D in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at javax.media.j3d.MasterControl$20.run(MasterControl.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:852)
at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:229)
at AppearanceTest.init(AppearanceTest.java:335)
at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.java:262)
at java.lang.Thread.run(Thread.java:554)


I know I was able to get the J2EE reference implementation from Sun to work by telling it to go vanilla, so any ideas for Java 3D?

Is JOGL overkill (I must be able to use Java; I am NOT a programming guru / genius; preferrably cross-platform)?

Please help!

Java3D does not and will never run on MacOS X. You’ll need to look to an alternate like JOGl for your mac 3D graphics needs.

At this moment the only API that will work for you on OSX out of the box is GL4Java. When 10.3 is released you will get JOGL capability. 10.2 CAN run LWJGL graphics, but since LWJGL is a complete package and binds a lot of things which don’t work on OSX - you may have some issues. Best to just wait for JOGL on OSX.