getting to compile plugins in NetBeans
Posted by
Heerpa on
Jul 05, 2011; 9:07am
URL: http://imagej.273.s1.nabble.com/getting-to-compile-plugins-in-NetBeans-tp3684016.html
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_togetherAt 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