Migration guide seems to state that after JEP 220 both JDK and JRE install in lib
directory
dynamically linked libraries and the complete internal implementation of the JDK.
Since it says "complete" does this mean, for example, tools.jar
which previously did not ship with JRE, now indeed ships on JRE as part of libjvm
?.
Analysing Ubuntu packages
it seems JDK version does not install anything extra under lib/
although it does install bunch of modules under jmods/
. AFAIU, .jmods
are relevant if one ships app with modular image, however they are not strictly necessary for building an application?
I understand similar question has been asked many times in pre-JDK9 world, however after JEP 220 introduced significant changes, what extra APIs are provided by JDK installation that are not provided by just JRE installation?