[ImageJ-bugs] [Bug 1133] IJ is not defined

bugzilla at fiji.sc bugzilla at fiji.sc
Tue Aug 4 04:09:52 CDT 2015


http://fiji.sc/bugzilla/show_bug.cgi?id=1133

Jan Eglinger <jan.eglinger at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jan.eglinger at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Jan Eglinger <jan.eglinger at gmail.com> ---
In Fiji, auto-imports of ImageJ Java classes are disabled
(http://fiji.sc/Script_Editor_Auto_Import).

You need to add

    importClass(Packages.ij.IJ);

to the top of your script (see also http://fiji.sc/Scripting_toolbox )

Hope that helps,
Jan

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20150804/ce8d9deb/attachment.html>


More information about the Imagej-bugs mailing list