Re: ImageJ and Jython 2nd try
Posted by
Sami Badawi-2 on
Jan 16, 2008; 2:48pm
URL: http://imagej.273.s1.nabble.com/ImageJ-and-Jython-2nd-try-tp3697554p3697557.html
Hi Sebastian,
Here is the page for how to use Jython with ImageJ:
http://marcora.caltech.edu/jython_imagej_howto.htmI think that first you have to install Jython to your machine, then you have
to include the Jython jar file on you classpath. Having a . and jar file in
your local directory is not enough you have to explicitly say something like:
-cp ij.jar;C:\Jython21\jython.jar
I have been experimenting with using the new Java 6 Scripting interface, JSR
223. I got Groovy, JavaScript and JRuby to work right away. Jython did not
work in first try, but I am planning to go back.
I think that JSR 223 is an easier way to access scripting languages from
Java. I have a post about my results:
http://samibadawi.blogspot.com/2008/01/lazy-streams-in-java-groovy-javascript.htmlHope this is helpful,
-Sami Badawi
www.shapelogic.org