Login  Register

ImageJ and Jython 2nd try

Posted by Sebastian Rhode-2 on Jan 16, 2008; 12:34pm
URL: http://imagej.273.s1.nabble.com/ImageJ-and-Jython-2nd-try-tp3697554.html


Hi,

Hopefully you can help me out!

I try to use ImageJ and Jython, but I do not get it to work. I installed Jython2.2.1 with the ImageJ java interpreter that runs ImageJ (c:\ImageJ\jre). That worked fine!

I downloades the jython.21.class file (see picture) and typed (in command window):

------------------------------------------------------
C:\ImageJ\jre\bin\java -cp . jython-21
------------------------------------------------------

But all I get is that error and I can not figure out why. And one more question. Does the ImageJ.cfg file has to look like this:

-------------------------------------------------------
.
jre\bin\javaw.exe
-Xmx640m -cp ij.jar ij.ImageJ
-cp C:\jython2.2.1\jython.jar
-------------------------------------------------------

I would be glad, if you could give me hint, what I did wrong.

Best regards,

Sebastian


ImageJ_Jython.png (48K) Download Attachment