Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use 3Dviewer in Java8 on MacOSX? #225

Closed
yayamochi opened this issue Jan 24, 2019 · 1 comment
Closed

How to use 3Dviewer in Java8 on MacOSX? #225

yayamochi opened this issue Jan 24, 2019 · 1 comment

Comments

@yayamochi
Copy link

Hi, I always use this wonderful tool.

I try to use 3dviewer in my program.
When i build this program, i get this error message.

java.lang.NoClassDefFoundError: javax/media/opengl/GLException

or

java.lang.NoClassDefFoundError: javax/media/opengl/glcapabilitieschooser

However, the same program can be build in Java6 and MacOSX Yosemite or Java8 and Windows7.

My environment
OS: MacOS Mojave
Java version: 8
ImageJ version: 1.51n

I've already included j3dcore, j3dutils and vecmath.jar.
How to use 3Dviewer in Java8 on MacOSX?

@ctrueden
Copy link
Member

ctrueden commented Jan 31, 2019

Sorry for the delay in reply, @yaya1026. The gist is: you need a newer version of the Java-3D artifacts, rewritten to be built on top of JOGL.

Please give the latest version of Fiji a try. I did a lot of work to make the 3D Viewer plugin work with Java 8 on macOS. There are some outstanding issues (fiji/3D_Viewer#15, fiji/3D_Viewer#18), but for most people it seems to be working well enough.

See also:

Happy to discuss further on https://forum.image.sc if you get stuck or have additional questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants