http://imagej.273.s1.nabble.com/ImageJ-with-OpenJDK-with-Windows-7-10-tp5021517p5021587.html
took a while for testing - but it works - thanks a lot.
> Hi Philipp,
>
> for plain ImageJ under Windows, you can edit the ImageJ.cfg file to give
> the path to the javaw.exe of your desired Java installation:
>
> .
> C:\path\to\your\jre\bin\javaw.exe
> -Xmx1500m -cp ij.jar ij.ImageJ
>
> where '-Xmx1500m' means 'use 1500 MB memory'.
> (You can change the memory settings later in
> Edit>Options>Memory&Threads, then restart ImageJ)
>
> You can see which Java Runtime Environment (jre) you are using with
> Plugins>Utilities>ImageJ Properties in the line 'java.home:'
>
> In case there is no ImageJ.cfg file and no jre folder in the ImageJ
> directory, the ImageJ Launcher will try to find the default Java
> installation and create a ImageJ.cfg file for it.
>
https://imagej.nih.gov/ij/docs/install/windows.html#upgrade>
> Michael
> ________________________________________________________________
> Michael Schmid email:
[hidden email]
> Institut für Angewandte Physik, Technische Universität Wien
> Wiedner Hauptstr. 8-10/E134, 1040 Wien, Austria
> Tel. +43 1 58801-13452, Fax +43 1 58801 13499
> ________________________________________________________________