Giter Site home page Giter Site logo

Use OpenJDK about java HOT 11 CLOSED

dockerfile avatar dockerfile commented on July 3, 2024
Use OpenJDK

from java.

Comments (11)

benmccann avatar benmccann commented on July 3, 2024

I think that having both available is nice. I typically use OpenJDK, but there are certain pieces of software I've used in the past that say they're only supported on Oracle. I think the user should be able to choose from OpenJDK/Oracle and Java 6/7/8 and JRE/JDK

from java.

gabegorelick avatar gabegorelick commented on July 3, 2024

Choice is fine, but I don't think the Oracle JRE, installed from a PPA with
dubious legality, should be the default. Especially since this image is
used by so many others, many images will unknowingly install it. If you
absolutely can't use OpenJDK, then by all means, install the Oracle
packages. But that should not be the default for the "official" Java
image.

On Tuesday, July 22, 2014, Ben McCann [email protected] wrote:

I think that having both available is nice. I typically use OpenJDK, but
there are certain pieces of software I've used in the past that say they're
only supported on Oracle. I think the user should be able to choose from
OpenJDK/Oracle and Java 6/7/8


Reply to this email directly or view it on GitHub
#6 (comment).

from java.

benmccann avatar benmccann commented on July 3, 2024

I don't think there should be a "Java" image at all. Better to be more explicit. E.g. I would rename this package oracle-jre-7 so that you know it's for Oracle Java, for a JRE (not a JDK), and so that it's for Java 7. Right now none of those things are obvious. I would use similar naming for any OpenJDK package

from java.

gabegorelick avatar gabegorelick commented on July 3, 2024

That works too.

On Tuesday, July 22, 2014, Ben McCann [email protected] wrote:

I don't think there should be a "Java" image at all. Better to be more
explicit. E.g. I would rename this package oracle-jre-7 so that you know
it's for Oracle Java, for a JRE (not a JDK), and so that it's for Java 7.
Right now none of those things are obvious. I would use similar naming for
any OpenJDK package


Reply to this email directly or view it on GitHub
#6 (comment).

from java.

2xyo avatar 2xyo commented on July 3, 2024

👍 @benmccann

from java.

pilwon avatar pilwon commented on July 3, 2024

Just so everyone here knows about some background -- We originally created dockerfile/java image specifically for dockerfile/elasticsearch, that is still the only image created at Dockerfile Project with this dockerfile/java image as its dependency. The decisions for oracle-java vs. openjdk and v6 vs. v7 vs.v8 were made solely for that purpose as well. (the elasticsearch community still recommends using oracle java 7 for the best performance)

However, we agree the decisions we originally made should probably be changed now, due to concerns raised by @benmccann @gabegorelick here and there, as there are a lot more Docker users using this image not just for dockerfile/elasticsearch.

from java.

pilwon avatar pilwon commented on July 3, 2024

@gabegorelick @benmccann @2xyo Please see https://github.com/dockerfile/java#docker-tags

from java.

benmccann avatar benmccann commented on July 3, 2024

Awesome. Thanks!

from java.

benmccann avatar benmccann commented on July 3, 2024

I might have distinguished between jdk/jre for the oracle images just as you did for the openjdk images

from java.

pilwon avatar pilwon commented on July 3, 2024

@benmccann They don't seem to support it https://launchpad.net/~webupd8team/+archive/ubuntu/java

If you know a good, reliable way to do this, please submit PR.

from java.

benmccann avatar benmccann commented on July 3, 2024

Ah, I see. Thank you

from java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.