Skip to content

{vis}[system/system] Fiji v20260514-1817 w/ Java 21 - #26445

Open
MaximeVdB wants to merge 1 commit into
easybuilders:developfrom
MaximeVdB:20260713095611_new_pr_Fiji202605141817
Open

{vis}[system/system] Fiji v20260514-1817 w/ Java 21#26445
MaximeVdB wants to merge 1 commit into
easybuilders:developfrom
MaximeVdB:20260713095611_new_pr_Fiji202605141817

Conversation

@MaximeVdB

@MaximeVdB MaximeVdB commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

(created using eb --new-pr)

I dropped the --default-gc --java-home "$EBROOTJAVA/lib/server/" Fiji options, since this release does not come with a ImageJ-linux64 executable and the options don't seem to be needed when using the included fiji executable. I now see though that Fiji/2.14.0-Java-11 also includes such a fiji executable, so at this point I don't really see why Fiji-2.14.0-Java-11.eb bothers with ImageJ-linux64 instead of fiji.

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown

Updated software Fiji-20260514-1817-Java-21.eb

Diff against Fiji-2.14.0-Java-11.eb

easybuild/easyconfigs/f/Fiji/Fiji-2.14.0-Java-11.eb

diff --git a/easybuild/easyconfigs/f/Fiji/Fiji-2.14.0-Java-11.eb b/easybuild/easyconfigs/f/Fiji/Fiji-20260514-1817-Java-21.eb
index 6e3f4cddae..639242fc74 100644
--- a/easybuild/easyconfigs/f/Fiji/Fiji-2.14.0-Java-11.eb
+++ b/easybuild/easyconfigs/f/Fiji/Fiji-20260514-1817-Java-21.eb
@@ -1,52 +1,52 @@
 easyblock = 'PackedBinary'
 
 name = 'Fiji'
-version = '2.14.0'
+version = '20260514-1817'
 versionsuffix = '-Java-%(javaver)s'
 
 homepage = 'https://fiji.sc/'
 description = """Fiji is an image processing package—a 'batteries-included' distribution of
  ImageJ, bundling a lot of plugins which facilitate scientific image analysis.
-This release is based on ImageJ-2.1.0 and Fiji-2.1.1"""
+"""
 
 toolchain = SYSTEM
 
-source_urls = ['https://downloads.imagej.net/fiji/releases/%(version)s']
-sources = ['%(namelower)s-%(version)s-nojre.zip']
-checksums = ['1dcf6efd7a2c99b70ab921bea3b9e7c74ef99acf35b9857199de7f9c424187db']
+source_urls = ['https://downloads.imagej.net/fiji/archive/latest/%(version)s']
+sources = [{
+    'download_filename': '%(namelower)s-latest-portable-nojava.zip',
+    'filename': '%(namelower)s-%(version)s-portable-nojava.zip',
+}]
+checksums = ['526bb2461a98b74ab7d277a69ff65886672d3eeafc8273ef18145e14803c7287']
 
-dependencies = [('Java', '11', '', SYSTEM)]
+dependencies = [('Java', '21', '', SYSTEM)]
 
 postinstallcmds = [
-    # Remove binaries for other platforms
-    'rm %(installdir)s/{ImageJ-win32.exe,ImageJ-win64.exe}',
     # Enable any update site (edit existing site with same parameters to enable it)
     # Full list at https://imagej.github.io/list-of-update-sites/
-    '%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless'
+    '%(installdir)s/fiji --headless'
     ' --update edit-update-site "ImageScience" https://sites.imagej.net/ImageScience/',
-    '%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless'
+    '%(installdir)s/fiji --headless'
     ' --update edit-update-site "3D ImageJ Suite" https://sites.imagej.net/Tboudier/',
-    '%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless'
+    '%(installdir)s/fiji --headless'
     ' --update edit-update-site "ilastik" https://sites.imagej.net/Ilastik/',
     # Add a new update site
-    # '%(installdir)s/ImageJ-linux64 --headless --update add-update-site "New Name"'
+    # '%(installdir)s/fiji --headless --update add-update-site "New Name"'
     # ' https://site.url/NewName/',
     # Update the installation
-    '%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless --update update',
+    '%(installdir)s/fiji --headless --update update',
+    # Remove binaries for other platforms
+    'rm %(installdir)s/{fiji-windows-x64.exe,fiji-windows-arm64.exe}',
 ]
 
 sanity_check_paths = {
-    'files': ['ImageJ-linux64'],
+    'files': ['fiji'],
     'dirs': [],
 }
 
 modloadmsg = """
 Additional plugins can be installed in your $HOME/.plugins folder or requested to user support
-Use ImageJ/Fiji in headless mode in your scripts with the command `ImageJ-linux64 --headless`
+Use ImageJ/Fiji in headless mode in your scripts with the command `fiji --headless`
 More information at https://imagej.net/Headless
-Also for Fiji 2.14.0 the arguments `--default-gc --java-home "$EBROOTJAVA/lib/server/"`
-should always be used when running `ImageJ-linux64` commands to avoid errors like:
-`Could not load Java library` and `Unrecognized option: -Xincgc`.
 """
 
 moduleclass = 'vis'
Diff against Fiji-2.9.0-Java-8.eb

easybuild/easyconfigs/f/Fiji/Fiji-2.9.0-Java-8.eb

diff --git a/easybuild/easyconfigs/f/Fiji/Fiji-2.9.0-Java-8.eb b/easybuild/easyconfigs/f/Fiji/Fiji-20260514-1817-Java-21.eb
index a025352372..639242fc74 100644
--- a/easybuild/easyconfigs/f/Fiji/Fiji-2.9.0-Java-8.eb
+++ b/easybuild/easyconfigs/f/Fiji/Fiji-20260514-1817-Java-21.eb
@@ -1,48 +1,51 @@
 easyblock = 'PackedBinary'
 
 name = 'Fiji'
-version = '2.9.0'
+version = '20260514-1817'
 versionsuffix = '-Java-%(javaver)s'
 
-homepage = 'https://fiji.sc'
+homepage = 'https://fiji.sc/'
 description = """Fiji is an image processing package—a 'batteries-included' distribution of
  ImageJ, bundling a lot of plugins which facilitate scientific image analysis.
-This release is based on ImageJ-2.1.0 and Fiji-2.1.1"""
+"""
 
 toolchain = SYSTEM
 
-source_urls = ['https://downloads.imagej.net/fiji/releases/%(version)s/']
-sources = ['fiji-%(version)s-nojre.zip']
-checksums = ['970fb80cf2a4fe8bfcecc2cc9a8617b9ab28f19fbe229ea6ae2f7f42674c8a42']
+source_urls = ['https://downloads.imagej.net/fiji/archive/latest/%(version)s']
+sources = [{
+    'download_filename': '%(namelower)s-latest-portable-nojava.zip',
+    'filename': '%(namelower)s-%(version)s-portable-nojava.zip',
+}]
+checksums = ['526bb2461a98b74ab7d277a69ff65886672d3eeafc8273ef18145e14803c7287']
 
-dependencies = [('Java', '8', '', SYSTEM)]
+dependencies = [('Java', '21', '', SYSTEM)]
 
 postinstallcmds = [
-    # Remove binaries for other platforms
-    'rm %(installdir)s/{ImageJ-win32.exe,ImageJ-win64.exe}',
     # Enable any update site (edit existing site with same parameters to enable it)
     # Full list at https://imagej.github.io/list-of-update-sites/
-    '%(installdir)s/ImageJ-linux64 --headless --update edit-update-site "ImageScience"'
-    ' https://sites.imagej.net/ImageScience/',
-    '%(installdir)s/ImageJ-linux64 --headless --update edit-update-site "3D ImageJ Suite"'
-    ' https://sites.imagej.net/Tboudier/',
-    '%(installdir)s/ImageJ-linux64 --headless --update edit-update-site "ilastik"'
-    ' https://sites.imagej.net/Ilastik/',
+    '%(installdir)s/fiji --headless'
+    ' --update edit-update-site "ImageScience" https://sites.imagej.net/ImageScience/',
+    '%(installdir)s/fiji --headless'
+    ' --update edit-update-site "3D ImageJ Suite" https://sites.imagej.net/Tboudier/',
+    '%(installdir)s/fiji --headless'
+    ' --update edit-update-site "ilastik" https://sites.imagej.net/Ilastik/',
     # Add a new update site
-    # '%(installdir)s/ImageJ-linux64 --headless --update add-update-site "New Name"'
+    # '%(installdir)s/fiji --headless --update add-update-site "New Name"'
     # ' https://site.url/NewName/',
     # Update the installation
-    '%(installdir)s/ImageJ-linux64 --headless --update update',
+    '%(installdir)s/fiji --headless --update update',
+    # Remove binaries for other platforms
+    'rm %(installdir)s/{fiji-windows-x64.exe,fiji-windows-arm64.exe}',
 ]
 
 sanity_check_paths = {
-    'files': ['ImageJ-linux64'],
+    'files': ['fiji'],
     'dirs': [],
 }
 
 modloadmsg = """
 Additional plugins can be installed in your $HOME/.plugins folder or requested to user support
-Use ImageJ/Fiji in headless mode in your scripts with the command `ImageJ-linux64 --headless`
+Use ImageJ/Fiji in headless mode in your scripts with the command `fiji --headless`
 More information at https://imagej.net/Headless
 """
 

@MaximeVdB
MaximeVdB force-pushed the 20260713095611_new_pr_Fiji202605141817 branch from c0161d2 to 52e5bfe Compare July 28, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant