java - ImageJ no error messages for plugin development -
i'm using imagej image processing class, , i've been creating small plugins few weeks. it's been frustrating me because never saw java error messages, such syntax error on line 3 blah blah. when plugins don't compile (due compile time error), see "class not found", or if plugin had compiled in past , there class file available run old compiled version , not give me error.
i thought normal until met friend , had been getting error messages whole time.
any idea why is? i'm using windows (tried on windows 10, 8, , 7), he's using osx distribution (most latest). i've tried available versions of imagej website, don't think it's version issue. norm on windows reason?
i suspect using imagej 1.x, e.g. downloaded here? , trying compile via plugins>compile , run...
?
in general, recommend developing java code in eclipse - having proper ide vastly more powerful can in imagej.
if need write simple macros calling existing imagej functions writing them in various non-java scripting languages within imagej sufficient.
if decide eclipse isn't thing , want continue developing within imagej, recommend using fiji distribution of imagej - includes robust script editor.
if use editor write java code, save scripts disk .java
files , call java compiler (javac
) on them, give more complete picture of compilation problems.
Comments
Post a Comment