Login  Register

Re: Java issue when running Image Fiji Ratio Plus

Posted by Sindy Kueh-2 on Oct 27, 2015; 5:42am
URL: http://imagej.273.s1.nabble.com/Re-Java-issue-when-running-Image-Fiji-Ratio-Plus-tp5014764p5014786.html

Hi Mark

Many thanks .. Tried the Help.Update etc. Finally found the problem... I had installed ImageJ Fiji in a "Protected" Program folder and have shifted it to the "General" folder. Everything is working ok now... phew!

Sindy


Sindy Kueh, PhD| Research Officer
Anatomy and Cell Biology|School of Medicine

T: 02-4620 3938|  F: 02 4620 3890| E:  [hidden email]

Building 30, Goldsmith Avenue|Campbelltown NSW 2560
Mailing address:    Locked Bag 1797,Penrith NSW 2751

westernsydney.edu.au

 


-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Mark Hiner
Sent: Monday, 26 October 2015 11:42 PM
To: [hidden email]
Subject: Re: Java issue when running Image Fiji Ratio Plus

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

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