We're Hiring!

Image J Plugin

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Image J Plugin

Postby egriffis » Tue Dec 01, 2015 3:22 pm

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
egriffis
 
Posts: 4
Joined: Mon Mar 31, 2014 5:46 pm

Re: Image J Plugin

Postby bramalingam » Wed Dec 02, 2015 4:22 pm

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
User avatar
bramalingam
 
Posts: 70
Joined: Tue Jan 14, 2014 12:01 pm

Re: Image J Plugin

Postby egriffis » Thu Dec 03, 2015 4:10 pm

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
egriffis
 
Posts: 4
Joined: Mon Mar 31, 2014 5:46 pm

Re: Image J Plugin

Postby bramalingam » Fri Dec 04, 2015 11:29 am

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
User avatar
bramalingam
 
Posts: 70
Joined: Tue Jan 14, 2014 12:01 pm

Re: Image J Plugin

Postby egriffis » Thu Dec 17, 2015 4:20 pm

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.
egriffis
 
Posts: 4
Joined: Mon Mar 31, 2014 5:46 pm

Re: Image J Plugin

Postby jburel » Fri Dec 18, 2015 9:41 am

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
User avatar
jburel
Team Member
 
Posts: 348
Joined: Thu May 21, 2009 6:38 pm
Location: dundee


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest