NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1030 (closed enhancement: fixed)

Opened 2012-02-27T22:54:25-06:00

Last modified 2012-10-19T13:57:29-05:00

Integrate Java into the Scripting framework

Reported by: dscho Owned by: dscho
Priority: major Milestone: imagej2-b5-scripting
Component: Scripting Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #12


Similar to the Java support in Fiji (which pretends that Java is a scripting language, but requiring the code to be compiled which it does by calling javac so that the .class files are written side-by-side of the .java files), it would be a Cool Thang to have Java support in the IJ2 scripting framework.

For starters, we will try to imitate the way Fiji does it closely, but then endeavor to use Javassist instead of javac, at least optionally. That will allow us to be a bit more flexible and allow for Java snippets as opposed to full classes, and we no longer need to write out the resulting .class files.

Licensing is not an issue because there is no existing code that we will reuse except for a few lines I have written myself.

Change History

comment:1 Changed 2012-02-27T22:54:41-06:00 by dscho

  • Status changed from new to accepted

comment:2 Changed 2012-07-12T14:18:41-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:3 Changed 2012-09-06T19:01:55-05:00 by dscho

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:4 Changed 2012-10-10T15:26:23-05:00 by curtis

  • Blocking 1516 added; 12 removed

comment:5 Changed 2012-10-19T13:52:27-05:00 by curtis

  • Blocking 12 added; 1516 removed
  • Milestone changed from imagej-2.0.0-beta6 to imagej-2.0.0-beta5

comment:6 Changed 2012-10-19T13:57:29-05:00 by curtis

  • Status changed from accepted to closed
  • Resolution set to fixed

Done in 7e0cea20.