Comments (11)
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.
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.
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.
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.
from java.
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.
@gabegorelick @benmccann @2xyo Please see https://github.com/dockerfile/java#docker-tags
from java.
Awesome. Thanks!
from java.
I might have distinguished between jdk/jre for the oracle images just as you did for the openjdk images
from java.
@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.
Ah, I see. Thank you
from java.
Related Issues (20)
- pull oracle-java7 error
- JAVA_HOME HOT 2
- Consider deleting tar.gz of the JDK after installation HOT 1
- Version tagged releases HOT 1
- java:oracle-java8 not found HOT 8
- dockerfile/java is missing from Docker repo? HOT 1
- docker image
- All the dockerfile images seem to have vanished from hub.docker.com HOT 3
- Ubuntu version HOT 1
- OpenJDK 8 Not available
- Problem during install java image into docker HOT 9
- bash: javac: command not found HOT 2
- Error: image oracle/serverjre:8 not found HOT 1
- Error: image dockerfile/java:latest not found HOT 3
- user stdin for java docker container at Run time.
- The current install scripts for Oracle Java 8 are broken HOT 5
- Lucky Number program
- Rename oracle-java HOT 2
- Tag `oracle-java8` not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.