Hi there,
in our company we use ImageJ quite a while - but cause of the new restriction using oracle Java we try to use imageJ with OpenJDK and Windows as Operating System. At home I use Ubuntu Linux with OpenJDK and ImageJ - but it seems to be different with Windows. Is there a useful possibility with ImageJ and OpenJDK using Windows 7 or 10? Thanks in advance Philipp Schneider -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Philipp,
> At home I use Ubuntu Linux with OpenJDK and ImageJ - but it seems to > be different with Windows. > > Is there a useful possibility with ImageJ and OpenJDK using Windows 7 > or 10? I believe ImageJ 1.x [1] should work with OpenJDK 11 on Windows. ImageJ2 [2] (and therefore Fiji [3]) currently has issues with OpenJDK 11, but does work well with OpenJDK 8. Unfortunately, to my knowledge, there is no OpenJDK 8 build available for WIndows (https://jdk.java.net/8/ only has Oracle Java builds). More information about what you want to do, and what is not working for you, would be helpful: * What did you try -- and do you receive an error message? * Which version of OpenJDK do you want to use? 8? 11? * Which version of ImageJ do you want? ImageJ 1.x? Or ImageJ2 via Fiji? Regards, Curtis [1] https://imagej.net/ImageJ1 [2] https://imagej.net/ImageJ2 [3] https://imagej.net/Fiji -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Have you tried the Image.sc Forum? https://forum.image.sc/ On Mon, Dec 3, 2018 at 3:22 AM Philipp Schneider <[hidden email]> wrote: > Hi there, > > in our company we use ImageJ quite a while - but cause of the new > restriction using oracle Java we try to use imageJ with OpenJDK and Windows > as Operating System. At home I use Ubuntu Linux with OpenJDK and ImageJ - > but it seems to be different with Windows. > > Is there a useful possibility with ImageJ and OpenJDK using Windows 7 or > 10? > > Thanks in advance > Philipp Schneider > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Philipp Schneider
Philipp,
What restriction are you referring to? Bob Sent from my iPhone > On Dec 3, 2018, at 1:10 AM, Philipp Schneider <[hidden email]> wrote: > > Hi there, > > in our company we use ImageJ quite a while - but cause of the new restriction using oracle Java we try to use imageJ with OpenJDK and Windows as Operating System. At home I use Ubuntu Linux with OpenJDK and ImageJ - but it seems to be different with Windows. > > Is there a useful possibility with ImageJ and OpenJDK using Windows 7 or 10? > > Thanks in advance > Philipp Schneider > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
As I know (and understand)
even the use of JRE could cost money when used in commercial environment and Oracles new license model will be active. So we try to use openJDK using ImageJ. Philipp Am 03.12.18 um 21:16 schrieb Robert Dougherty: > Philipp, > What restriction are you referring to? > Bob > > Sent from my iPhone > >> On Dec 3, 2018, at 1:10 AM, Philipp Schneider <[hidden email]> wrote: >> >> Hi there, >> >> in our company we use ImageJ quite a while - but cause of the new restriction using oracle Java we try to use imageJ with OpenJDK and Windows as Operating System. At home I use Ubuntu Linux with OpenJDK and ImageJ - but it seems to be different with Windows. >> >> Is there a useful possibility with ImageJ and OpenJDK using Windows 7 or 10? >> >> Thanks in advance >> Philipp Schneider >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Robert Dougherty
Hi Philipp,
> even the use of JRE could cost money when used in commercial > environment and Oracles new license model will be active. Can you please cite a source? I have not seen anything to that effect. Only the fact that Oracle charges a license fee for "commercial features" (none of which ImageJ uses) of their distribution of the JDK. Regardless, I agree that using OpenJDK for ImageJ is certainly the best way to go. -Curtis P.S. Regarding OpenJDK 8 builds for Windows: I forgot about at least two of them: - JetBrains: https://github.com/JetBrains/jdk8u - Zulu: https://www.azul.com/downloads/zulu/ And you can also get openjdk 8 via conda: https://anaconda.org/anaconda/openjdk -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Have you tried the Image.sc Forum? https://forum.image.sc/ On Mon, Dec 3, 2018 at 11:34 PM Philipp Schneider <[hidden email]> wrote: > As I know (and understand) > even the use of JRE could cost money when used in commercial environment > and Oracles new license model will be active. > So we try to use openJDK using ImageJ. > > Philipp > > Am 03.12.18 um 21:16 schrieb Robert Dougherty: > > Philipp, > > What restriction are you referring to? > > Bob > > > > Sent from my iPhone > > > >> On Dec 3, 2018, at 1:10 AM, Philipp Schneider <[hidden email]> wrote: > >> > >> Hi there, > >> > >> in our company we use ImageJ quite a while - but cause of the new > restriction using oracle Java we try to use imageJ with OpenJDK and Windows > as Operating System. At home I use Ubuntu Linux with OpenJDK and ImageJ - > but it seems to be different with Windows. > >> > >> Is there a useful possibility with ImageJ and OpenJDK using Windows 7 > or 10? > >> > >> Thanks in advance > >> Philipp Schneider > >> > >> -- > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Curtis Rueden
Hi Curtis,
> I believe ImageJ 1.x [1] should work with OpenJDK 11 on Windows. We currently use ImageJ 1.52h with self-written scripts (that's why we want to keep it :-)) and tried OpenJDK 11. We don't use clean Java, but JRE - guess I need to find out the version here > * What did you try -- and do you receive an error message? > * Which version of OpenJDK do you want to use? 8? 11? > * Which version of ImageJ do you want? ImageJ 1.x? Or ImageJ2 via Fiji? I am not that firm in switching between Java Versions (Oracle and OpenJDK) using Windows - its better documented using Linux. ImageJ for Windows always comes with build-in JRE - just deleting the JRE Folder and installing OpenJDK hoping it will work or I just need to configure the "Java Path" did not lead to success. How can I teach ImageJ to use OpenJDK in the windows world? Is there any idea or experience to use ImageJ with OpenJDK and Windows? Philipp > Curtis Rueden <[hidden email]> hat am 3. Dezember 2018 um 19:11 geschrieben: > > > Hi Philipp, > > > At home I use Ubuntu Linux with OpenJDK and ImageJ - but it seems to > > be different with Windows. > > > > Is there a useful possibility with ImageJ and OpenJDK using Windows 7 > > or 10? > > I believe ImageJ 1.x [1] should work with OpenJDK 11 on Windows. > ImageJ2 [2] (and therefore Fiji [3]) currently has issues with OpenJDK 11, > but does work well with OpenJDK 8. Unfortunately, to my knowledge, there is > no OpenJDK 8 build available for WIndows (https://jdk.java.net/8/ only has > Oracle Java builds). > > More information about what you want to do, and what is not working for > you, would be helpful: > > * What did you try -- and do you receive an error message? > * Which version of OpenJDK do you want to use? 8? 11? > * Which version of ImageJ do you want? ImageJ 1.x? Or ImageJ2 via Fiji? > > Regards, > Curtis > > [1] https://imagej.net/ImageJ1 > [2] https://imagej.net/ImageJ2 > [3] https://imagej.net/Fiji > > -- > Curtis Rueden > LOCI software architect - https://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden > Have you tried the Image.sc Forum? https://forum.image.sc/ > > > > On Mon, Dec 3, 2018 at 3:22 AM Philipp Schneider <[hidden email]> wrote: > > > Hi there, > > > > in our company we use ImageJ quite a while - but cause of the new > > restriction using oracle Java we try to use imageJ with OpenJDK and Windows > > as Operating System. At home I use Ubuntu Linux with OpenJDK and ImageJ - > > but it seems to be different with Windows. > > > > Is there a useful possibility with ImageJ and OpenJDK using Windows 7 or > > 10? > > > > Thanks in advance > > Philipp Schneider > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Curtis Rueden
Hi,
its just a german source but a good one - one of the most famous IT magazines: https://www.heise.de/developer/artikel/Wird-Java-jetzt-kostenpflichtig-4144533.html You can use: https://www.deepl.com/translator for getting the stuff into 'good' English. "Verschärfend kommen wichtige Änderungen hinzu, die den Einsatz des Oracle JDK beziehungsweise des Oracle JRE in Produktion betreffen: Ab Java 11 sind beide nur noch in Entwicklungs- und Testumgebungen kostenfrei nutzbar. Zwingende Voraussetzung für den Einsatz der Oracle JRE in Produktion ist der Abschluss eines kommerziellen Supportvertrags bei Oracle. " --> "Important changes are also aggravating which concern the use of the Oracle JDK or the Oracle JRE in production: As of Java 11, both can only be used free of charge in development and test environments. The conclusion of a commercial support contract with Oracle is a mandatory prerequisite for the use of the Oracle JRE in production." Philipp > Curtis Rueden <[hidden email]> hat am 4. Dezember 2018 um 08:40 geschrieben: > > > Hi Philipp, > > > even the use of JRE could cost money when used in commercial > > environment and Oracles new license model will be active. > > Can you please cite a source? I have not seen anything to that effect. Only > the fact that Oracle charges a license fee for "commercial features" (none > of which ImageJ uses) of their distribution of the JDK. > > Regardless, I agree that using OpenJDK for ImageJ is certainly the best way > to go. > > -Curtis > > P.S. Regarding OpenJDK 8 builds for Windows: I forgot about at least two of > them: > - JetBrains: https://github.com/JetBrains/jdk8u > - Zulu: https://www.azul.com/downloads/zulu/ > > And you can also get openjdk 8 via conda: > https://anaconda.org/anaconda/openjdk > > -- > Curtis Rueden > LOCI software architect - https://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden > Have you tried the Image.sc Forum? https://forum.image.sc/ > > > > On Mon, Dec 3, 2018 at 11:34 PM Philipp Schneider <[hidden email]> wrote: > > > As I know (and understand) > > even the use of JRE could cost money when used in commercial environment > > and Oracles new license model will be active. > > So we try to use openJDK using ImageJ. > > > > Philipp > > > > Am 03.12.18 um 21:16 schrieb Robert Dougherty: > > > Philipp, > > > What restriction are you referring to? > > > Bob > > > > > > Sent from my iPhone > > > > > >> On Dec 3, 2018, at 1:10 AM, Philipp Schneider <[hidden email]> wrote: > > >> > > >> Hi there, > > >> > > >> in our company we use ImageJ quite a while - but cause of the new > > restriction using oracle Java we try to use imageJ with OpenJDK and Windows > > as Operating System. At home I use Ubuntu Linux with OpenJDK and ImageJ - > > but it seems to be different with Windows. > > >> > > >> Is there a useful possibility with ImageJ and OpenJDK using Windows 7 > > or 10? > > >> > > >> Thanks in advance > > >> Philipp Schneider > > >> > > >> -- > > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > > > -- > > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Philipp Schneider
Am 04.12.18 um 08:49 schrieb Philipp Schneider:
>> * What did you try -- and do you receive an error message? >> * Which version of OpenJDK do you want to use? 8? 11? >> * Which version of ImageJ do you want? ImageJ 1.x? Or ImageJ2 via Fiji? > > I am not that firm in switching between Java Versions (Oracle and OpenJDK) using Windows - its better documented using Linux. > ImageJ for Windows always comes with build-in JRE - just deleting the JRE Folder and installing OpenJDK hoping it will work or I just need to configure the "Java Path" did not lead to success. How can I teach ImageJ to use OpenJDK in the windows world? > Is there any idea or experience to use ImageJ with OpenJDK and Windows? Is there any way to download Imagej for Windows without any Java and configure Imagej in that way it can use OpenJDK? Which config files have to be edit to do so? Philipp -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
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 ________________________________________________________________ On 11.12.18 18:46, Philipp Schneider wrote: > Am 04.12.18 um 08:49 schrieb Philipp Schneider: >>> * What did you try -- and do you receive an error message? >>> * Which version of OpenJDK do you want to use? 8? 11? >>> * Which version of ImageJ do you want? ImageJ 1.x? Or ImageJ2 via Fiji? >> >> I am not that firm in switching between Java Versions (Oracle and >> OpenJDK) using Windows - its better documented using Linux. >> ImageJ for Windows always comes with build-in JRE - just deleting the >> JRE Folder and installing OpenJDK hoping it will work or I just need >> to configure the "Java Path" did not lead to success. How can I teach >> ImageJ to use OpenJDK in the windows world? >> Is there any idea or experience to use ImageJ with OpenJDK and Windows? > > Is there any way to download Imagej for Windows without any Java and > configure Imagej in that way it can use OpenJDK? Which config files have > to be edit to do so? > > Philipp > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Michael,
took a while for testing - but it works - thanks a lot. Ciao und schöne Weihnachten :-) Grüße Philipp Am 11.12.18 um 19:17 schrieb Michael Schmid: > 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 > ________________________________________________________________ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |