Simple setup for building the original ImageJ launcher for Windows. Intended for ImageJ (ImageJ 1) not FIJI (ImageJ 2).
Download ImageJ.exe
from the Releases page, replace your standard ImageJ.exe
with this one.
Really it is the old launcher, unmodified source code, just rebuild with recent tools to works with new versions of Java, properly setting DPI configuration, and most importantly to read "ImageJ.cfg" as it was originally intended.
Neither the launcher currently provided with ImageJ Download nor the FIJI/ImageJ2 Lanuncher worked correctly when tried to use ImageJ with custom "ImageJ.cfg".
Needed to customize the class path in "ImageJ.cfg". The standard ImageJ launcher was quiting with error "Without ij-launcher, '--ijcp' cannot be handled". FIJI/ImageJ2 Lanuncher did not want to correctly accept custom classpath settings, modifying it incorrectly. Looks that both are a variants of the FIJI launcher.
Assumes that you have CMake and Visual Studio 2019 installed.
- Download the source code and unpack to directory
ImageJ-Launcher
- Next to it create directory
ImageJ-Launcher-build
- Open en command prompt and chage directory to
ImageJ-Launcher-build
- Type
cmake ..\ImageJ-Launcher
- Open
ImageJ-Launcher.sln
with Visual Studio and rebuild the solution
Public domain see ImageJ Disclaimer