I’ve been trying to use the java inline functionality using Weaver as described in this tutorial. However, when I try to run any of the examples, I get this exception: “
java.lang.ClassNotFoundException: com.sun.tools.javac.Main”. I know my installation of Fiji can access the JDK, since I can compile and run standard java plugins in the script editor.
I’m running a standard, up-to-date installation of Fiji on a mac (os 10.12.3) with 64-bit java version 1.8.0_121. Fiji was installed from the “no-JRE” version so that I could use my previously installed JDK. I don’t know if that has any impact on this issue.
Any help from someone who has successfully used the weaver would be appreciated.