<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:wsr@nih.gov" title="Wayne Rasband <wsr@nih.gov>"> <span class="fn">Wayne Rasband</span></a>
</span> changed
<a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - I could not compile the Versatile Wand plugin"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1074">bug 1074</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>NEW
</td>
<td>CONFIRMED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>wsr@nih.gov
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - I could not compile the Versatile Wand plugin"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1074#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - I could not compile the Versatile Wand plugin"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1074">bug 1074</a>
from <span class="vcard"><a class="email" href="mailto:wsr@nih.gov" title="Wayne Rasband <wsr@nih.gov>"> <span class="fn">Wayne Rasband</span></a>
</span></b>
<pre>Using Java 1.6.0_65 on OS X 10.10.2, I can compile and run Versatile_Wand.java
by clicking on "Run" in the Script Editor. I can then install the Versatile
Wand as a tool by checking "Install Tool" in the dialog and clicking "OK", but
I get this error message
Could not load class Versatile_Wand in line 6
call("Versatile_Wand.setOptions");
when I attempt to open the Versatile Wand Options dialog by double clicking on
the tool icon.
When I run the "Versatile Wand" command from the Plugins menu I get this error
message in the "Console" window:
Compiling 1 file in
/var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java898253394430329430
Note:
/var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java898253394430329430/src/main/java/Versatile_Wand.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Using Java jdk1.8.0_45.jdk on OS X 10.10.3, I get this error message when I
open Versatile_Wand.java in the Script Editor and click "Run":
Started Versatile_Wand.java at Fri May 22 11:21:30 EDT 2015
Compiling 1 file in
/var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java4428824321535213749
/var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java4428824321535213749/src/main/java/Versatile_Wand.java:16:
cannot access java.util.Hashtable
bad class file:
ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/util/Hashtable.class)]
class file has wrong version 52.0, should be 50.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
import java.util.Hashtable;
^
org.scijava.minimaven.JavaCompiler$CompileError: Compile error: 1
at org.scijava.minimaven.JavaCompiler.call(JavaCompiler.java:80)
at org.scijava.minimaven.MavenProject.build(MavenProject.java:477)
at org.scijava.minimaven.MavenProject.build(MavenProject.java:406)
at org.scijava.minimaven.MavenProject.build(MavenProject.java:391)
at
org.scijava.plugins.scripting.java.JavaEngine.compile(JavaEngine.java:211)
at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:135)
at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:173)
at org.scijava.script.ScriptModule.run(ScriptModule.java:175)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:167)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:126)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:65)
at
org.scijava.thread.DefaultThreadService$2.call(DefaultThreadService.java:181)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at
org.scijava.plugins.scripting.java.CommandJavaRunner.supports(CommandJavaRunner.java:71)
at
org.scijava.plugins.scripting.java.CommandJavaRunner.supports(CommandJavaRunner.java:46)
at
org.scijava.plugins.scripting.java.DefaultJavaService.run(DefaultJavaService.java:60)
at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:136)
at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:173)
at org.scijava.script.ScriptModule.run(ScriptModule.java:175)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:167)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:126)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:65)
at
org.scijava.thread.DefaultThreadService$2.call(DefaultThreadService.java:181)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)</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>