Closed hinerm closed 3 years ago
@ctrueden thoughts?
The old names were linux
and linux-amd64
, yeah.
How difficult would it be to change the launcher to first search linux32/linux64, and if not found there, then search linux/linux-amd64 for backwards compatibility? Then we can choose option (2), but without requiring users to rename folders in existing installations.
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/updated-imagej-launcher-java-bundles/44841/26
How difficult would it be to change the launcher to first search linux32/linux64, and if not found there, then search linux/linux-amd64 for backwards compatibility?
I am worried that this would be getting into the complexities we wanted to avoid with the new launcher: building case logic for various scenarios. The point was to have one fixed expected directory per platform, so it seems reasonable to just use the directories established by previous bundles, no?
I'm not clear on what we would gain from having directories named linux32
and linux64
aside from consistency across platforms. But users are likely only going to see the directory for their platform so... I guess I'm leaning towards (1)
I'm not clear on what we would gain from having directories named linux32 and linux64 aside from consistency across platforms.
That is a good point, yes, all we would gain is consistency. It's not important enough here. Let's go with option (1). Thanks.
We changed the platform-specific
java/
subdirs to belinux32
,linux64
,win32
,win64
andmacosx
, as determined here and removed the convention of search other platforms' directories for Java.However,
fiji-builds
renameslinux64
tolinux-amd64
, andlinux32
javas appear to have historically been bundled in a folder just calledlinux
.So in the wild, Linux users updating to the new launchers will no longer detect their bundled Java. Also a problem is that
fiji-builds
is still producinglinux-amd64
bundles.Options:
linux-amd64
andlinux
for 64-bit and 32-bit java bundle directoriesfiji-builds
to produce bundles inlinux64
andlinux32
and ask users to rename directories