Hi Kenneth, > any preference on version of OpenJDK?
For Fiji, I would stick with OpenJDK 8 or 11. To use 17+, you need to pass several --add-opens arguments at launch, or else the Java module system causes a failure in the ImageJ backward compatibility layer. > Do I need to do anything to FIJI to point it at an existing OpenJDK? https://imagej.net/learn/faq#how-do-i-launch-imagej-with-a-different-version-of-java It may be simplest to just let Fiji use its bundled Java, and then use your preferred flavor and version of OpenJDK for your non-Fiji programs. Regards, Curtis On Mon, Jan 6, 2025 at 3:41 PM Kenneth R Sloan <[email protected]> wrote: > Thanks - this machine may need to also run standalone Java programs, so … > first OpenJDK and then FIJI? > > any preference on version of OpenJDK? Do I need to do anything to FIJI to > point it at an existing OpenJDK? > > -Kenneth Sloan > > > On Mon, Jan 6, 2025 at 12:15 Curtis Rueden <[email protected]> > wrote: > >> Hi Kenneth, >> >> OpenJDK is free and open source, as is GraalVM Community Edition. >> >> I would start by downloading the Windows 64-bit version of Fiji and giving >> it a try as is. Fiji currently works most easily with OpenJDK 8 or 11. >> >> If you want to customize your Java, I've tested Fiji's new launcher (which >> is not yet released) with many different flavors [1]. Once that new >> launcher is released, the Fiji download will be updated to bundle OpenJDK >> 21 instead of OpenJDK 8. >> >> Regards, >> Curtis >> >> [1] >> >> https://github.com/apposed/jaunch/blob/bd7671b990e1137414d825a204e62a5505d817de/configs/jvm.toml#L326-L346 >> <https://urldefense.com/v3/__https://github.com/apposed/jaunch/blob/bd7671b990e1137414d825a204e62a5505d817de/configs/jvm.toml*L326-L346__;Iw!!Mak6IKo!N1vCDueZIpExIpheDhQjr1ZF9cKqY6t-g2tAN3Qp9NuLrO5-qEGapMGw-VGd88ngpWDEJmJJ3GUmVJ0rY5Lz36A$> >> >> On Mon, Jan 6, 2025 at 3:38 AM Kenneth R Sloan <[email protected]> >> wrote: >> >> > I’m setting up a new Windows 11 machine which will spend a lot of time >> > running FIJI (mostly custom plugins developed on a Mac). I can’t >> remember >> > the last Windows machine I set up. >> > >> > Looking for recommendations on a Java set up. >> > Free would be nice, but don’t mind paying if necessary. >> > >> > -Kenneth Sloan >> > >> > -- >> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> <https://urldefense.com/v3/__http://imagej.nih.gov/ij/list.html__;!!Mak6IKo!N1vCDueZIpExIpheDhQjr1ZF9cKqY6t-g2tAN3Qp9NuLrO5-qEGapMGw-VGd88ngpWDEJmJJ3GUmVJ0r1IuJI9w$> >> > >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> <https://urldefense.com/v3/__http://imagej.nih.gov/ij/list.html__;!!Mak6IKo!N1vCDueZIpExIpheDhQjr1ZF9cKqY6t-g2tAN3Qp9NuLrO5-qEGapMGw-VGd88ngpWDEJmJJ3GUmVJ0r1IuJI9w$> >> > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
