<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDSINFO "
title="NEEDSINFO - memory leak with python script"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1203#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEEDSINFO "
title="NEEDSINFO - memory leak with python script"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=1203">bug 1203</a>
from <span class="vcard"><a class="email" href="mailto:aryeh@cc.huji.ac.il" title="Aryeh Weiss <aryeh@cc.huji.ac.il>"> <span class="fn">Aryeh Weiss</span></a>
</span></b>
<pre>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?</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>