Posted by
Thomas Boudier on
Jul 05, 2011; 9:20am
URL: http://imagej.273.s1.nabble.com/getting-to-compile-plugins-in-NetBeans-tp3684016p3684017.html
Hi,
If you want only to compile plugins you do not need to have the Imagej
sources, just add ij.jar into the libraries. Tools.jar is needed if you
compile ImageJ, and then do the same put tools.jar into the Libraries.
Hope this helps.
Thomas
Le 05/07/2011 11:07, Heerpa a écrit :
> Hi everyone,
>
> I am trying to get NetBeans to compile my ImageJ plugins with increasing
> desperation. I have followed the tutorial
>
http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:how_to_set_up_netbeans_to_work_with_imagej_and_matlab_together>
> At first, I could compile and run IJ, although those little red exclamation
> marks told me that the package com.sun.tools.javac was not available. (I
> just couldn't use the compiler from imagej)
>
> now, after looking into it, I have added "C:\Program
> Files\Java\jdk1.6.0_26\lib\tools.jar" to the java sources classpath in the
> project properties as well as to
> Tools->Options->Miscellaneous->Ant->Classpath.
>> From now on, the whole thing doesn't compile any more, telling me
> "E:\ImageJplugin\ImageJ_ijNB\src\ij\plugin\Compiler.java:19: package
> com.sun.tools.javac does not exist
> private static com.sun.tools.javac.Main javac;"
>
>
> I did find previous similar questions, but none of the answers helped me..
> does anybody have any idea on how I could get around this?
>
> Thanks so much
>
> --
> View this message in context:
http://imagej.588099.n2.nabble.com/getting-to-compile-plugins-in-NetBeans-tp6548955p6548955.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
>
--
/**********************************************************/
Thomas Boudier, MCU Université Pierre et Marie Curie,
Modélisation Cellulaire et Imagerie Biologique (EE1),
IFR 83, Bat B 7ème étage, porte 723, Campus Jussieu.
Tel : 01 44 27 46 92 Fax : 01 44 27 22 91
--> fin juillet tél : 01 44 27 58 89
/*******************************************************/