Login  Register

Re: Java issue when running Image Fiji Ratio Plus

Posted by Mark Hiner on Oct 26, 2015; 12:34pm
URL: http://imagej.273.s1.nabble.com/Re-Java-issue-when-running-Image-Fiji-Ratio-Plus-tp5014764p5014769.html

Hi Sindy,

>(Fiji Is Just) ImageJ 2.0.0-rc-30/1.49s;

First I would suggest running "Help > Update...".

Also it would be helpful to know if you have other update sites enabled or
plugins manually installed. You can get this information easily from the
"Useful information about your system" window in the "Help > Report a Bug"
command.

>java.lang.ClassFormatError: Truncated class file

How did you install the plugin? I just downloaded a fresh copy of the
.class file from http://rsb.info.nih.gov/ij/plugins/ratio-plus.html and had
no problems running it with both Java 6 and Java 8; so if you did something
else it's worth trying to re-install.

Best,
Mark Hiner
ImageJ2 developer
LOCI, UW-Madison


On Mon, Oct 26, 2015 at 12:29 AM, Sindy Kueh <[hidden email]>
wrote:

> Hi everyone,
>
> I have installed image J Fiji on my new computer and also Ratio Plus
> plugin. However, when I ran the Ratio Plus, I encounter this error message.
> Could someone help with some advice etc to fix this?
>
>
>
> Thanks
>
> Sindy
>
> (Fiji Is Just) ImageJ 2.0.0-rc-30/1.49s; Java 1.7.0_51 [32-bit]; Windows 7
> 6.1; 17MB of 1598MB (1%)
>
> java.lang.ClassFormatError: Truncated class file
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.access$100(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at ij.IJ.runUserPlugIn(IJ.java:197)
>         at ij.IJ.runPlugIn(IJ.java:163)
>         at ij.Executer.runCommand(Executer.java:131)
>         at ij.Executer.run(Executer.java:64)
>         at java.lang.Thread.run(Unknown Source)
>
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html