Login  Register

"class not found" error when compiling Java 8 plugins in El Capitan

Posted by JonNathan on Oct 08, 2015; 4:00pm
URL: http://imagej.273.s1.nabble.com/class-not-found-error-when-compiling-Java-8-plugins-in-El-Capitan-tp5014582.html

I just upgraded my Mac to OS 10.11, and then upgraded ImageJ to the "experimental" Java 8 version available on the download page.  When trying to compile a new plugin, I get a ClassNotFoundException error.  Any suggestions?  I'm running ImageJ 1.50c.

On a related note, is there a way to point ImageJ's "run and compile" command to a different version of the Java compiler?  I have the latest version 1.8.0_60-b27 of the JDK installed on my Mac and would like to use it if possible (once everything is working properly).

Thanks,

Jon Marsh