Login  Register

How to change Java version for ImageJ64 in Mac OSX?

Posted by Fernando Sales on Sep 17, 2013; 12:51pm
URL: http://imagej.273.s1.nabble.com/How-to-change-Java-version-for-ImageJ64-in-Mac-OSX-tp5004827.html

Dear colleagues,
I've been developing plugins using Eclipse, which is using java 1.7 for
compiling them (Mac OSX default). Additionally, I've been using a Mac IJ
distribution to test my plugins outside Eclipse environment, in order to
avoid problems of compatibility.

However, Image64 from Mac OSX IJ version, uses java 1.6.0_51 and my plugins
are presenting this error message:
"java.lang.UnsupportedClassVersionError: virtualhistology/VH_Loader :
Unsupported major.minor version 51.0

This plugin requires Java 1.7 or later."

I've already changed the JRE version to 1.7.0 in Java Preferences Menu from
System Preferences but the error messages still appearing.

Is possible to change change JRE version inside Image64 from Mac?

Thanks in advance.
Best,
Fernando3

--
**************************************************
Fernando José Ribeiro Sales
**************************************************
Email: [hidden email]
Tel: (11) 82020303
**************************************************

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