<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Compile and Run Command not currently supported in version 1.49p"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1012">bug 1012</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>CONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ctrueden@wisc.edu
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Compile and Run Command not currently supported in version 1.49p"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1012#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Compile and Run Command not currently supported in version 1.49p"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1012">bug 1012</a>
from <span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span></b>
<pre>We do not currently have the resources to make "Compile and Run" work as
expected in ImageJ2. For those curious why, some related technical details can
be seen here:
<a href="https://github.com/imagej/ij1-patcher/issues/31#issuecomment-52185528">https://github.com/imagej/ij1-patcher/issues/31#issuecomment-52185528</a>
The "cannot access java.lang.Object bad class file" error is a different
problem that is new to me. I filed an issue for it here:
<a href="https://github.com/scijava/scripting-java/issues/7">https://github.com/scijava/scripting-java/issues/7</a>
When testing this myself, I received a different error, also new to me, which I
filed at:
<a href="https://github.com/scijava/scripting-java/issues/6">https://github.com/scijava/scripting-java/issues/6</a>
Even before these bugs cropped up, using Java in the Script Editor suffered
from another very serious bug:
<a href="https://github.com/scijava/scripting-java/issues/5">https://github.com/scijava/scripting-java/issues/5</a>
So I would definitely recommend using a dedicated tool such as Eclipse to
develop one's ImageJ plugins. (The Script Editor is best for scripts and
macros.)
Plugin authors should distribute their plugins using an update site
(<a href="http://imagej.net/Update_Sites">http://imagej.net/Update_Sites</a>), or at least as a .jar or .class file, rather
than as a .java file.
If you feel you have a compelling use case for the Compile and Run command that
would justify the substantial amount of time required to make it work in
ImageJ2, I invite you to start a discussion about it on the imagej-devel
mailing list:
<a href="http://imagej.net/Mailing_Lists">http://imagej.net/Mailing_Lists</a></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>