This is done to align Java 8 and 17 containers - both should be able to launch java from /usr/bin
docker run --entrypoint=/usr/bin/java jre
Usage: java [options] <mainclass> [args...]
(to execute a class)
or java [options] -jar <jarfile> [args...]
(to execute a jar file)
or java [options] -m <module>[/<mainclass>] [args...]
java [options] --module <module>[/<mainclass>] [args...]
(to execute the main class in a module)
or java [options] <sourcefile> [args]
(to execute a single source-file program)
...
Changes proposed in this pull request:
/usr/bin/java
This is done to align Java 8 and 17 containers - both should be able to launch java from /usr/bin
Picture of a cool ROCK: