<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 - Launching jython interpreter causes java exception"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1237">1237</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Launching jython interpreter causes java exception
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </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>mw283@cam.ac.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mw283@cam.ac.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Opening the jython interpreter from the Plugins>Scripting menu causes the
following java exception:

(Fiji Is Just) ImageJ 2.0.0-rc-44/1.50e; Java 1.8.0_66 [64-bit]; Windows 7 6.1;
44MB of 6075MB (<1%)

Traceback (most recent call last):
  File "<string>", line 8, in <module>
java.lang.NoClassDefFoundError: javax/media/j3d/Canvas3D

    at java.lang.Class.forName0(Native Method)

    at java.lang.Class.forName(Class.java:348)

    at org.python.core.Py.loadAndInitClass(Py.java:909)

    at org.python.core.Py.findClassInternal(Py.java:822)

    at org.python.core.Py.findClassEx(Py.java:895)

    at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)

    at
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)

    at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)

    at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)

    at org.python.core.PyObject.__findattr__(PyObject.java:863)

    at org.python.core.imp.importFromAs(imp.java:1015)

    at org.python.core.imp.importFrom(imp.java:987)

    at org.python.pycode._pyx0.f$0(<string>:43)

    at org.python.pycode._pyx0.call_function(<string>)

    at org.python.core.PyTableCode.call(PyTableCode.java:165)

    at org.python.core.PyCode.call(PyCode.java:18)

    at org.python.core.Py.runCode(Py.java:1275)

    at org.python.core.Py.exec(Py.java:1319)

    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)

    at Jython.Jython_Interpreter.eval(Jython_Interpreter.java:102)

    at common.AbstractInterpreter.importAll(AbstractInterpreter.java:962)

    at Jython.Jython_Interpreter.run(Jython_Interpreter.java:73)

    at ij.IJ.runUserPlugIn(IJ.java:212)

    at ij.IJ.runPlugIn(IJ.java:176)

    at ij.Executer.runCommand(Executer.java:136)

    at ij.Executer.run(Executer.java:65)

    at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Canvas3D

    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

    ... 27 more


java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError:
javax/media/j3d/Canvas3D

    at org.python.core.Py.JavaError(Py.java:495)
    at org.python.core.Py.findClassEx(Py.java:901)
    at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
    at
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
    at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
    at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
    at org.python.core.PyObject.__findattr__(PyObject.java:863)
    at org.python.core.imp.importFromAs(imp.java:1015)
    at org.python.core.imp.importFrom(imp.java:987)
    at org.python.pycode._pyx0.f$0(<string>:43)
    at org.python.pycode._pyx0.call_function(<string>)
    at org.python.core.PyTableCode.call(PyTableCode.java:165)
    at org.python.core.PyCode.call(PyCode.java:18)
    at org.python.core.Py.runCode(Py.java:1275)
    at org.python.core.Py.exec(Py.java:1319)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
    at Jython.Jython_Interpreter.eval(Jython_Interpreter.java:102)
    at common.AbstractInterpreter.importAll(AbstractInterpreter.java:962)
    at Jython.Jython_Interpreter.run(Jython_Interpreter.java:73)
    at ij.IJ.runUserPlugIn(IJ.java:212)
    at ij.IJ.runPlugIn(IJ.java:176)
    at ij.Executer.runCommand(Executer.java:136)
    at ij.Executer.run(Executer.java:65)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javax/media/j3d/Canvas3D
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at org.python.core.Py.loadAndInitClass(Py.java:909)
    at org.python.core.Py.findClassInternal(Py.java:822)
    at org.python.core.Py.findClassEx(Py.java:895)
    ... 22 more
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Canvas3D
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 27 more

Information about your version of Java:

  os.arch => amd64
  os.name => Windows 7
  os.version => 6.1
  java.version => 1.8.0_66
  java.vendor => Oracle Corporation
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.8.0_66-b18
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 25.66-b18
  java.vm.vendor => Oracle Corporation
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.8
  sun.cpu.endian => little
  sun.desktop => windows
  file.separator => \

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: C:\Fiji.app/java/win64/jdk1.8.0_66//jre
  imagej.dir => C:\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:20160121055533)
Fiji: <a href="http://update.fiji.sc/">http://update.fiji.sc/</a> (last check:20160114142236)
Java-8: <a href="http://sites.imagej.net/Java-8/">http://sites.imagej.net/Java-8/</a> (last check:20160121051645)</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>