Page 1 of 1

Image J Plugin

PostPosted: Tue Dec 01, 2015 3:22 pm
by egriffis
I am getting an error that reads
(Fiji Is Just) ImageJ 2.0.0-rc-43/1.50e; Java 1.6.0_65 [64-bit]; Mac OS X 10.8.5; 24MB of 5837MB (<1%)
java.lang.UnsupportedClassVersionError: org/openmicroscopy/shoola/MainIJPlugin : Unsupported major.minor version 51.0

This plugin requires Java 1.7 or later.

when I try to start the OMERO plugin in Fiji. I've downloaded the newest client as well as the newest ImageJ plugin, and I've ensured that I am running the most recent version of Java on my computer. Is there anything else I need to be doing?

Thanks,

Eric

Re: Image J Plugin

PostPosted: Wed Dec 02, 2015 4:22 pm
by bramalingam
Hi Eric,

Looks like your FIJI is still using Java 1.6.0_65.
"(Fiji Is Just) ImageJ 2.0.0-rc-43/1.50e; Java 1.6.0_65 [64-bit]; Mac OS X 10.8.5; 24MB of 5837MB (<1%) "
Could you please type this commmand : "java -version" in your terminal
and paste the results in this forum.
This would help us identify the version of Java running in your system.

Secondly (worth the try),
Looks like you have a version of FIJI which comes with Java 1.6 packaged in it. So the simplest solution would be to use the following download,
http://jenkins.imagej.net/job/Stable-Fi ... -nojre.zip (which comes without the Java 1.6 packaging)

and this will use the system Java while launching (which if up to date will be Java 1.8 now) and should automatically solve your issue.

Hope that helps.

Best,
Balaji

Re: Image J Plugin

PostPosted: Thu Dec 03, 2015 4:10 pm
by egriffis
Hi Balaji,

I got the following response.

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

I will also try the download.

Best regards,

Eric

Re: Image J Plugin

PostPosted: Fri Dec 04, 2015 11:29 am
by bramalingam
Hi Eric,

Thank you for the providing the java version.
Here's the solution to your issue, please download and install the latest Java JDK from here,
http://www.oracle.com/technetwork/java/ ... 33151.html

Once this is installed, your FIJI should start automatically grab this version of Java JDK on launch and the plugin should work without any issues.

If you would like to understand the reason behind this java update issue: please read this thread,
https://discussions.apple.com/thread/65 ... 0&tstart=0

Hope that helps,

Best,
Balaji

Re: Image J Plugin

PostPosted: Thu Dec 17, 2015 4:20 pm
by egriffis
I've downloaded the JDK and I get this message from Terminal.
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

I've tried downloading the JRE free version of Fiji, but when I run it, it still says its running Java 1.6.0_65. Do I need to delete the old Java versions?

Any other suggestions.

Re: Image J Plugin

PostPosted: Fri Dec 18, 2015 9:41 am
by jburel
Hi Eric
Did you try to run Fiji from the command line
i.e.
Open a terminal
Run a command like
Code: Select all
open -a "Fiji.app" --args --java-home  '/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/'

Note:
the previous command assumes that you are in the directory where Fiji.app is installed

Other possible options available at http://fiji.sc/Frequently_Asked_Questions

Cheers
Jmarie