Hi Chris, > I can't find any way to download java 1.6 and have it as an option for > running Netbeans.
You can reinstall Java 6 on OS X. See e.g.: http://stackoverflow.com/questions/13653597/jdk-6-on-mountain-lion You can verify which Javas are installed using this script: https://github.com/ctrueden/ctr-scripts/blob/master/java-info You can configure which JDK NetBeans uses using the Tools > Platforms menu command. Click "Add Platform" and choose the Contents/Home subfolder of something in /Library/Java/JavaVirtualMachines (or maybe /System/Library/Java/JavaVirtualMachines if the JDK in question is not in the former folder). HTH, Curtis On Fri, May 31, 2013 at 10:17 AM, Chris <ch...@gaiag.net> wrote: > > Hi Chris, > > > > On Fri, 31 May 2013, Chris wrote: > > > >> I am getting this error when trying to run my plugin in ImageJ after I > >> developed the plugin in Netbeans 7.3: > >> > >>> java.lang.UnsupportedClassVersionError: APC_ : Unsupported major.minor > >>> version 51.0 > >>> > >>> This plugin requires Java 1.7 or later. > >> > >> Does ImageJ work with java 1.7? > > > > Well, it says that the plugin requires Java 1.7, not that ImageJ requires > > Java 1.7, although, to answer your question, ImageJ works with Java 1.7. > > > >> I am using Mac OS 10.7.5 and the only java version on my machine is 1.7 > > > > This is another issue: MacOSX' Java 1.7 support is unfortunately not as > > stable as Java 1.6 support. > > > > Therefore I would suggest to configure Netbeans to target Java 1.6. > > > > Besides, it is always better to target *not* the latest and buggiest, but > > the most prevalent, in this case, Java 1.6, *especially* if you want to > > make your code available (which you should, as a scientist). > > Yes, of course I want to make it available, that's the whole point of > cooperation. :-) I downloaded Netbeans IDE 7.3 and suddenly my only > option for java was java 1.7.0_21 on my Mac PowerBook Pro. I no longer > have any other version of java on my computer! Also, I can't find any way > to download java 1.6 and have it as an option for running Netbeans. Even > my older versions of Netbeans now run java 1.7. That's my problem in > addition to the inability to build my project on Maven anymore due to the > unresolved (unresolvable?) error I reported earlier. > > And thanks for responding! I really appreciate it! :-) > > Chris > > > _______________________________________________ > ImageJ-devel mailing list > ImageJ-devel@imagej.net > http://imagej.net/mailman/listinfo/imagej-devel >
_______________________________________________ ImageJ-devel mailing list ImageJ-devel@imagej.net http://imagej.net/mailman/listinfo/imagej-devel