Print at Dec 20, 2025, 4:59:26 AM

Posted by dtgriscom at May 21, 2012, 1:25:13 AM
Running in Netbeans; a couple of problems
I'm trying to run SW3D in Netbeans, mainly so I can play with the UI a bit (e.g. change the frame rate of the generated videos). I've hit two problems, one of which I worked around:

1) I set up the source tree, and added the libraries in the lib/ directory, but was still getting lots of missing class errors (all in the package javax.jnlp). Then, I tried adding the library libtest/jnlp.jar, and (almost) all the errors in the main source packages went away (there were still errors in the test packages, which went away when I linked in the rest of the libraries in libtest/). I'd expect libraries in libtest/ to be needed for the test classes, but not the main; perhaps jnlp.jar should be moved to the lib/ directory.

2) The remaining error is in com.eteks.sweethome3d.j3d.Canvas3DManager, which uses the undefined methods javax.media.j3d.VirtualUniverse.removeRenderingErrorListener and javax.media.j3d.VirtualUniverse.addRenderingErrorListener. Perhaps this depends on a later version of javax.media.j3d.VirtualUniverse than I have? (I'm using OS X 10.6.8; "java -version" prints the following:

java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-10M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

.)

Ideas?

Thanks,
Dan