[ImageJ-bugs] [Bug 1095] New: 3D viewer not working with Java 8 & bundled Java3D
bugzilla at fiji.sc
bugzilla at fiji.sc
Fri Jun 19 07:21:44 CDT 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=1095
Bug ID: 1095
Summary: 3D viewer not working with Java 8 & bundled Java3D
Product: Fiji
Version: unspecified
Hardware: Macintosh
OS: Mac OS
Status: NEW
Severity: normal
Priority: P5
Component: 3D Viewer
Assignee: bene.schmid at gmail.com
Reporter: radoslaw at ejsmont.net
CC: imagej-bugs at imagej.net
The 3D viewer is not working with Java 8 & bundled Java3D
./Fiji.app/Contents/MacOS/ImageJ-macosx
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m;
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated
and will likely be removed in a future release
[...]
Starting 3D viewer throws:
version = 1.5
Exception in thread "J3D-Renderer-1" java.lang.UnsatisfiedLinkError: no jogl in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at
com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
at
com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80)
at
com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:109)
at
com.sun.opengl.impl.macosx.MacOSXGLDrawableFactory.<clinit>(MacOSXGLDrawableFactory.java:53)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:108)
at javax.media.j3d.JoglPipeline$QueryCanvas.<init>(JoglPipeline.java:9010)
at
javax.media.j3d.JoglPipeline.getBestConfiguration(JoglPipeline.java:8774)
at javax.media.j3d.Renderer.doWork(Renderer.java:495)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)
Putting Java3D libs from Fiji.app/java/ into /Library/Java/Extensions partially
resolves the issue, but now the required OS X framework is missing:
Exception in thread "J3D-Renderer-1" java.lang.UnsatisfiedLinkError:
/Library/Java/Extensions/libjogl_awt.jnilib:
dlopen(/Library/Java/Extensions/libjogl_awt.jnilib, 1): Library not loaded:
/System/Library/Frameworks/JavaVM.framework/Libraries/libjawt.dylib
Referenced from: /Library/Java/Extensions/libjogl_awt.jnilib
Reason: image not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1859)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at
com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
at
com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80)
at
com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$2.run(NativeLibLoader.java:132)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.opengl.impl.NativeLibLoader.loadAWTImpl(NativeLibLoader.java:118)
at com.sun.opengl.impl.JAWT.getJAWT(JAWT.java:91)
at
com.sun.opengl.impl.macosx.MacOSXOnscreenGLDrawable.lockSurface(MacOSXOnscreenGLDrawable.java:144)
at
com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.makeCurrentImpl(MacOSXOnscreenGLContext.java:57)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at javax.media.j3d.JoglPipeline$QueryCanvas.doQuery(JoglPipeline.java:9030)
at
javax.media.j3d.JoglPipeline.getBestConfiguration(JoglPipeline.java:8778)
at javax.media.j3d.Renderer.doWork(Renderer.java:495)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)
Current complete workaround is to remove bundled Java3D 1.5 from Fiji app and
install Java3D 1.6 from jogamp.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20150619/2f900078/attachment.html>
More information about the Imagej-bugs
mailing list