no error window when compiling plugins

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

no error window when compiling plugins

jvander
When I compile ImageJ plugins for my old Mac system (OS 10.6.8, ImageJ 1.49v, Java 1.6.0_65) I get a window titled "Errors" when I have a syntax error in my java code.  The window identifies the offending line and attempts to identify the nature of the error.

With my new system (OS 10.10.5, ImageJ 1.50a, Java 1.8.0_60 (64-bit)) I never get an error window.  It just does not compile.  If I fix the error, it compiles just fine.  But errors are not identified.  

So I am debugging in the dark.  Presently, I do all my development on the old system and then transfer the result over to the new, but this is not a very practical solution - especially as my old hard drive is making scary noises!

Please advise.

thanks,

Joe v.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: no error window when compiling plugins

Jolyon Troscianko
I have this error too. When I load IJ with Java 6 or 8 I don't get any debugging info with plugins that fail to compile. However, with Java 7 (which has other issues) the debugging does work... I remember finding a fix to this ages ago but have now forgotten it and googling didn't help.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: no error window when compiling plugins

Rasband, Wayne (NIH/NIMH) [E]
In reply to this post by jvander
> On Jan 15, 2016, at 9:53 AM, Joe Vandergracht <[hidden email]> wrote:
>
> When I compile ImageJ plugins for my old Mac system (OS 10.6.8, ImageJ 1.49v, Java 1.6.0_65) I get a window titled "Errors" when I have a syntax error in my java code.  The window identifies the offending line and attempts to identify the nature of the error.
>
> With my new system (OS 10.10.5, ImageJ 1.50a, Java 1.8.0_60 (64-bit)) I never get an error window.  It just does not compile.  If I fix the error, it compiles just fine.  But errors are not identified.  
>
> So I am debugging in the dark.  Presently, I do all my development on the old system and then transfer the result over to the new, but this is not a very practical solution - especially as my old hard drive is making scary noises!

The latest ImageJ daily build (1.50g4) fixes a bug that caused the "Compile and Run" command to fail on Java 8 when compiling plugins with errors.

-wayne
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html