[ImageJ-bugs] [Bug 1012] Compile and Run Command not currently supported in version 1.49p

bugzilla at fiji.sc bugzilla at fiji.sc
Sun Mar 1 15:58:53 CST 2015


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

--- Comment #3 from Wayne Rasband <wsr at nih.gov> ---
I updated Fiji and now also get the message

"The "Compile and Run" command is not currently supported. We recommend using
the Script Editor or an IDE such as Eclipse for plugin development."

when I try to use the Plugins>Compile and Run Command. I am using Fiji
2.0.0-rc-25/1.49p and Java 1.8.0_25 [64-bit] on OS X 10.10.1.

When I open the "Red_And_Blue.java" file in the Script Editor and click "Run" I
get this exception:

Started Red_And_Blue.java at Sun Mar 01 16:33:21 EST 2015
Compiling 1 file in
/var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java218593696282971329
/var/folders/sj/hs9p4kxn1z9brlkf83ycm4qr0000gn/T/java218593696282971329/src/main/java/Red_And_Blue.java:8:
cannot access java.lang.Object
bad class file:
ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Object.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.
public class Red_And_Blue implements PlugIn {
       ^
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.eval(JavaEngine.java:154)
    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:164)
    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)

-- 
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/20150301/43dae9e8/attachment.html>


More information about the Imagej-bugs mailing list