[ImageJ-bugs] [Bug 1203] memory leak with python script

bugzilla at fiji.sc bugzilla at fiji.sc
Wed Dec 9 02:00:04 CST 2015


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

--- Comment #6 from Aryeh Weiss <aryeh at cc.huji.ac.il> ---
Here is something that may be related.
I tried to create a small java plugin to open an image, run the Gaussian blur,
and then close it, to see what happens with the memory. However, when I tried
to run it, I got the following error:

Started My_Plugin.java at Wed Dec 09 09:54:38 IST 2015
Compiling 1 file in
/var/folders/z5/zp1ywtqs03q4g1jltsnm7bbr0000gs/T/java2155939277511209585
/var/folders/z5/zp1ywtqs03q4g1jltsnm7bbr0000gs/T/java2155939277511209585/src/main/java/My_Plugin.java:7:
cannot access java.lang.Object
bad class file:
ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_66.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 My_Plugin 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.compile(JavaEngine.java:211)
    at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:135)
    at ...
+more stuff I will add if relevant.

Is my java configured incorrectly?

-- 
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/20151209/3d553e8e/attachment-0001.html>


More information about the Imagej-bugs mailing list