Chris, Link to the issue was helpful.
Although, when I take a look at Dockerfile for any Solr version from here https://github.com/docker-solr/docker-solr, the very first line says FROM openjdk...It does not say FROM adoptopenjdk. Am I missing something? On Fri, Jan 31, 2020 at 1:58 PM Chris Hostetter <hossman_luc...@fucit.org> wrote: > > Just upgrade? > > This has been fixed in most recent versions of AdoptOpenJDK builds... > https://github.com/AdoptOpenJDK/openjdk-build/issues/465 > > hossman@slate:~$ java8 > hossman@slate:~$ java -XshowSettings:properties -version 2>&1 | grep -e > vendor -e version > java.class.version = 52.0 > java.runtime.version = 1.8.0_222-b10 > java.specification.vendor = Oracle Corporation > java.specification.version = 1.8 > java.vendor = AdoptOpenJDK > java.vendor.url = http://java.oracle.com/ > java.vendor.url.bug = http://bugreport.sun.com/bugreport/ > java.version = 1.8.0_222 > java.vm.specification.vendor = Oracle Corporation > java.vm.specification.version = 1.8 > java.vm.vendor = AdoptOpenJDK > java.vm.version = 25.222-b10 > os.version = 5.0.0-32-generic > openjdk version "1.8.0_222" > > > hossman@slate:~$ java11 > hossman@slate:~$ java -XshowSettings:properties -version 2>&1 | grep -e > vendor -e version > java.class.version = 55.0 > java.runtime.version = 11.0.4+11 > java.specification.vendor = Oracle Corporation > java.specification.version = 11 > java.vendor = AdoptOpenJDK > java.vendor.url = https://adoptopenjdk.net/ > java.vendor.url.bug = > https://github.com/AdoptOpenJDK/openjdk-build/issues > java.vendor.version = AdoptOpenJDK > java.version = 11.0.4 > java.version.date = 2019-07-16 > java.vm.specification.vendor = Oracle Corporation > java.vm.specification.version = 11 > java.vm.vendor = AdoptOpenJDK > java.vm.version = 11.0.4+11 > os.version = 5.0.0-32-generic > openjdk version "11.0.4" 2019-07-16 > > > > > : Date: Fri, 31 Jan 2020 12:45:36 -0500 > : From: Arnold Bronley <arnoldbron...@gmail.com> > : Reply-To: solr-user@lucene.apache.org > : To: solr-user@lucene.apache.org > : Subject: Re: Oracle OpenJDK to Amazon Corretto OpenJDK > : > : Thanks for the helpful information. It is a no-go because even though it > is > : OpenJDK and free, vendor is Oracle and legal dept. at our company is > trying > : to get away from anything Oracle. > : It is little paranoid reaction, I agree. > : > : See the java.vendor property in following output. > : > : $ java -XshowSettings:properties -version > : Property settings: > : awt.toolkit = sun.awt.X11.XToolkit > : file.encoding = UTF-8 > : file.encoding.pkg = sun.io > : file.separator = / > : java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment > : java.awt.printerjob = sun.print.PSPrinterJob > : java.class.path = . > : java.class.version = 52.0 > : java.endorsed.dirs = > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed > : java.ext.dirs = /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext > : /usr/java/packages/lib/ext > : java.home = /usr/lib/jvm/java-8-openjdk-amd64/jre > : java.io.tmpdir = /tmp > : java.library.path = /usr/java/packages/lib/amd64 > : /usr/lib/x86_64-linux-gnu/jni > : /lib/x86_64-linux-gnu > : /usr/lib/x86_64-linux-gnu > : /usr/lib/jni > : /lib > : /usr/lib > : java.runtime.name = OpenJDK Runtime Environment > : java.runtime.version = 1.8.0_181-8u181-b13-1~deb9u1-b13 > : java.specification.name = Java Platform API Specification > : java.specification.vendor = Oracle Corporation > : java.specification.version = 1.8 > : java.vendor = Oracle Corporation > : java.vendor.url = http://java.oracle.com/ > : java.vendor.url.bug = http://bugreport.sun.com/bugreport/ > : java.version = 1.8.0_181 > : java.vm.info = mixed mode > : java.vm.name = OpenJDK 64-Bit Server VM > : java.vm.specification.name = Java Virtual Machine Specification > : java.vm.specification.vendor = Oracle Corporation > : java.vm.specification.version = 1.8 > : java.vm.vendor = Oracle Corporation > : java.vm.version = 25.181-b13 > : line.separator = \n > : os.arch = amd64 > : os.name = Linux > : os.version = 4.9.0-8-amd64 > : path.separator = : > : sun.arch.data.model = 64 > : sun.boot.class.path = > : /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar > : /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar > : /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar > : /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar > : /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar > : /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar > : /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar > : /usr/lib/jvm/java-8-openjdk-amd64/jre/classes > : sun.boot.library.path = > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 > : sun.cpu.endian = little > : sun.cpu.isalist = > : sun.io.unicode.encoding = UnicodeLittle > : sun.java.launcher = SUN_STANDARD > : sun.jnu.encoding = UTF-8 > : sun.management.compiler = HotSpot 64-Bit Tiered Compilers > : sun.os.patch.level = unknown > : user.country = US > : user.dir = /opt/solr > : user.home = /home/solr > : user.language = en > : user.name = solr > : user.timezone = > : > : openjdk version "1.8.0_181" > : OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1~deb9u1-b13) > : OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) > : > : > : > : > : On Fri, Jan 31, 2020 at 10:39 AM Jan Høydahl <jan....@cominvent.com> > wrote: > : > : > Yep, the OpenJDK in Solr image is pure open source, no Oracle license > : > required. > : > > : > If I’m not mistaken it is the AdoptOpenJdk distro under the hoods, > which > : > will receive patches for several years unlike Oracles openjdk distro > that > : > is only updated for 6 months. > : > > : > For every Solr release we refresh all docked images with newest JRE 11 > : > version such that even a pull of 8.1 will get latest patched java. > : > > : > We should perhaps document this somewhere. I plan to add some “Solr on > : > Docker” chapter to the reference guide. > : > > : > Jan Høydahl > : > > : > > 31. jan. 2020 kl. 16:00 skrev Koen De Groote < > : > koen.degro...@limecraft.com>: > : > > > : > > Indeed, only Oracle JDK is affected by the commercial license, not > : > OpenJDK, > : > > as can be read here: https://www.baeldung.com/oracle-jdk-vs-openjdk > : > > > : > > Point 5 specifically. > : > > > : > > Also explained here: > : > > > : > > https://www.quora.com/Does-using-OpenJDK-provide-a-way-to-be-safe-from-Oracle-Java-Licensing-fee > : > > > : > > > : > >> On Fri, Jan 31, 2020 at 3:45 PM Erick Erickson < > erickerick...@gmail.com > : > > > : > >> wrote: > : > >> > : > >> Why is it a no-go? It’s free too. > : > >> > : > >>> On Jan 31, 2020, at 12:31 AM, Arnold Bronley < > arnoldbron...@gmail.com> > : > >> wrote: > : > >>> > : > >>> Hi, > : > >>> > : > >>> I use Solr docker images from https://hub.docker.com/_/solr/. It > uses > : > >>> Oracle OpenJDK. It is a no go for where I work. What is the best > way to > : > >>> replace this JDK with some other OpenJDK such as Amazon Corretto > : > OpenJDK > : > >>> for my docker containers if I still want to use above images? > : > >> > : > >> > : > > : > > -Hoss > http://www.lucidworks.com/