Compatibility with Java 9 or 10

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

Compatibility with Java 9 or 10

Eric Leroy-3
Hi,

Recently, after the last update of java 8 I was prompt to install Java 9 or 10. Can you tell me if these versions are compatible with ImageJ, Fiji or ImageJ2?

Thank you,

Best regards,

eric

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

Re: Compatibility with Java 9 or 10

Wayne Rasband-2
> On May 10, 2018, at 2:54 AM, Eric Leroy <[hidden email]> wrote:
>
> Hi,
>
> Recently, after the last update of java 8 I was prompt to install Java 9 or 10. Can you tell me if these versions are compatible with ImageJ, Fiji or ImageJ2?

ImageJ works with Java 10. To try it out, download the Java 10 JRE from

    http://www.oracle.com/technetwork/java/javase/downloads/jre10-downloads-4417026.html

duplicate the ImageJ folder and replace the jre folder with the Java 10 JRE.

-wayne

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

Re: Compatibility with Java 9 or 10

ctrueden
In reply to this post by Eric Leroy-3
Hi Eric,

ImageJ2 and Fiji work with Java 10 but there are some annoyances that still
need to be addressed.

1. The ImageJ launcher must be new enough to support it. The macOS version
of Fiji already includes a new-enough launcher, but not yet for Windows and
Linux. If you want to test the latest version of the launcher, see
https://imagej.net/Launcher#Download.

2. There is a console message on startup "WARNING: An illegal reflective
access operation has occurred" which can be safely ignored.

3. When starting up on macOS, there is a "NoSuchMethodError" thread dump on
the console, and a "NoClassDefFoundError" thread dump in an Exception
window.

4. A dialog box appears stating that JavaScript is not available, and
asking to download it. But ImageJ2's JavaScript support works without doing
so; JavaScript is already included with Java.

I suggest staying with Java 8 for now, unless you need Java 10 for some
specific reason. We will address these issues as time permits.

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Thu, May 10, 2018 at 10:52 AM, Wayne Rasband <[hidden email]> wrote:

> > On May 10, 2018, at 2:54 AM, Eric Leroy <[hidden email]> wrote:
> >
> > Hi,
> >
> > Recently, after the last update of java 8 I was prompt to install Java 9
> or 10. Can you tell me if these versions are compatible with ImageJ, Fiji
> or ImageJ2?
>
> ImageJ works with Java 10. To try it out, download the Java 10 JRE from
>
>     http://www.oracle.com/technetwork/java/javase/
> downloads/jre10-downloads-4417026.html
>
> duplicate the ImageJ folder and replace the jre folder with the Java 10
> JRE.
>
> -wayne
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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