<div dir="ltr">Hi Chris,<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">> which doesn't allow me to do anything but cancel.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div><div>Does it allow you to proceed if you select the Contents/Home subfolder?</div><div><br></div><div><div>> I tried copying java 1.6.0.jdk to the same library where</div><div>> jdk1.7.0_21.jdk is located</div>

</div><div><br></div><div style>I would strongly caution you against manually copying Java files around on OS X. If you hose your setup, it may be very difficult to repair.</div><div><br></div><div style>-Curtis</div></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 2, 2013 at 10:16 AM, Chris <span dir="ltr"><<a href="mailto:chris@gaiag.net" target="_blank">chris@gaiag.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Thank you Curtis.  I do have java 1.6 on my machine in System/Library/Java/JavaVirtualMachines/1.6.0.jdk, but I cannot add it to Netbeans.  Choosing Add Platform in Tools>Java Platforms (there is no just "Platforms" in NetBeans IDE 7.3) results in this dialog:<div>

<br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><img height="510" width="819" src="cid:92100A5E-2340-434D-BFCB-C66270B03FE1@gateway.2wire.net"></div></blockquote><div><br></div><div>which doesn't allow me to do anything but cancel.  The same holds true if I try this with NetBeans 7.2.  I tried copying java 1.6.0.jdk to the same library where jdk1.7.0_21.jdk is located, but it still doesn't allow anything but "Cancel."   So it seems I do not have the ability to change NetBeans java platform to 1.6.0.</div>

<span class="HOEnZb"><font color="#888888"><div><br></div><div>Chris</div></font></span><div><div class="h5"><div><br><div><div>On May 31, 2013, at 9:42 AM, Curtis Rueden wrote:</div><br><blockquote type="cite"><div dir="ltr">

Hi Chris,<div><br></div><div><div>> I can't find any way to download java 1.6 and have it as an option for</div><div>> running Netbeans.</div><div><br></div><div>You can reinstall Java 6 on OS X. See e.g.:</div>



<div>  <a href="http://stackoverflow.com/questions/13653597/jdk-6-on-mountain-lion" target="_blank">http://stackoverflow.com/questions/13653597/jdk-6-on-mountain-lion</a><br></div><div><br></div><div>You can verify which Javas are installed using this script:</div>



<div>  <a href="https://github.com/ctrueden/ctr-scripts/blob/master/java-info" target="_blank">https://github.com/ctrueden/ctr-scripts/blob/master/java-info</a><br></div><div><br></div><div>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).</div>



<div><br></div><div>HTH,</div><div>Curtis</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at 10:17 AM, Chris <span dir="ltr"><<a href="mailto:chris@gaiag.net" target="_blank">chris@gaiag.net</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>> Hi Chris,<br>
><br>
> On Fri, 31 May 2013, Chris wrote:<br>
><br>
>> I am getting this error when trying to run my plugin in ImageJ after I<br>
>> developed the plugin in Netbeans 7.3:<br>
>><br>
>>> java.lang.UnsupportedClassVersionError: APC_ : Unsupported major.minor<br>
>>> version 51.0<br>
>>><br>
>>> This plugin requires Java 1.7 or later.<br>
>><br>
>> Does ImageJ work with java 1.7?<br>
><br>
> Well, it says that the plugin requires Java 1.7, not that ImageJ requires<br>
> Java 1.7, although, to answer your question, ImageJ works with Java 1.7.<br>
><br>
>> I am using Mac OS 10.7.5 and the only java version on my machine is 1.7<br>
><br>
> This is another issue: MacOSX' Java 1.7 support is unfortunately not as<br>
> stable as Java 1.6 support.<br>
><br>
> Therefore I would suggest to configure Netbeans to target Java 1.6.<br>
><br>
> Besides, it is always better to target *not* the latest and buggiest, but<br>
> the most prevalent, in this case, Java 1.6, *especially* if you want to<br>
> make your code available (which you should, as a scientist).<br>
<br>
</div>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.<br>




<br>
And thanks for responding!  I really appreciate it!  :-)<br>
<span><font color="#888888"><br>
Chris<br>
</font></span><div><div><br>
<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net" target="_blank">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>