<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 3D viewer can not find jogl in java path"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=970">970</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>3D viewer can not find jogl in java path
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Fiji
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P4
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Plugins
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>imagej-bugs@imagej.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fidel.ramirez@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>fidel.ramirez@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As a background:

I installed Fiji for Mac using the latest build. Running Fiji from Applications
did not work because it could not load JVM 1.6 (I only found this by running
Fiji command line, otherwise I would not get any error message or even a
window, nothing).

Then I set my JAVA_HOME using /usr/libexec/java_home which in my case
corresponds to jdk 1.8.

After this, Fiji runs properly except when trying to use the 3D viewer.
Immediately I get the following error:

Exception in thread "J3D-Renderer-1" java.lang.UnsatisfiedLinkError: no jogl in
java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1119)
    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:260)
    at
javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:108)
    at javax.media.j3d.JoglPipeline$QueryCanvas.<init>(JoglPipeline.java:9029)
    at
javax.media.j3d.JoglPipeline.getBestConfiguration(JoglPipeline.java:8793)
    at javax.media.j3d.Renderer.doWork(Renderer.java:514)
    at javax.media.j3d.J3dThread.run(J3dThread.java:275)


Afterwards Fiji hangs.

I had updated the plugings including imageJ 3D suite.

Information about your version of Java:

  os.arch => x86_64
  os.name => Mac OS X
  os.version => 10.9.5
  java.version => 1.8.0_25
  java.vendor => Oracle Corporation
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.8.0_25-b17
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 25.25-b02
  java.vm.vendor => Oracle Corporation
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.CGraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.8
  sun.cpu.endian => little
  sun.desktop => null
  file.separator => /

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to:
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
  imagej.dir => /Applications/Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: <a href="http://update.imagej.net/">http://update.imagej.net/</a> (last check:20141126221327)
Fiji: <a href="http://fiji.sc/update/">http://fiji.sc/update/</a> (last check:20141125171145)
3D ImageJ Suite: <a href="http://sites.imagej.net/Tboudier/">http://sites.imagej.net/Tboudier/</a> (last check:20141208085245)
Bio-Formats: <a href="http://sites.imagej.net/Bio-Formats/">http://sites.imagej.net/Bio-Formats/</a> (last check:20141111032637)
LOCI: <a href="http://sites.imagej.net/LOCI/">http://sites.imagej.net/LOCI/</a> (last check:20140401205514)
NucleusJ: <a href="http://sites.imagej.net/PouletAxel/">http://sites.imagej.net/PouletAxel/</a> (last check:20141101103602)
Tango: <a href="http://sites.imagej.net/Tango/">http://sites.imagej.net/Tango/</a> (last check:20141204174756)

Files not up-to-date:
  d3d48aeb (MODIFIED) 20141205121011 Contents/Info.plist
  dbcde867 (LOCAL_ONLY) 20080522040024 jars/gluegen-rt.jar
  9a9b947a (LOCAL_ONLY) 20080522040024 jars/jogl.jar
  f85574f3 (OBSOLETE_MODIFIED) 20141205113229 lib/Win64/setrEnv.ps1</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>