After reading the documentation, I understand a little more.
Thanks a lot for your answer :)
On Mon, Nov 16, 2015 at 10:23 AM, Deepak Bhole <dbhole(a)redhat.com> wrote:
* Athenas Jimenez <athenasjim(a)gmail.com> [2015-11-16 10:44]:
> I'm kind of new in java, so probably my question is too obvious. The
> looking into /usr/lib/jvm/java-1.8.0-openjdk-188.8.131.52-3.b17.fc21.x86_64
> Fedora, I notice some duplicated binaries like bin/java and jre/bin/java.
> I read about the difference between JRE and JDK, but I don't get why is
> necessary to keep both binaries if we only use one of them.
> Hope you can help me to understand a little more.
We mimic how upstream lays out files (including dupes). As for why there
are duplicate files in the first place -- I am not sure, it may be due
to historical reasons when the files in the JDK (bin/) differed from the
files in the JRE (jre/bin/). The docs don't shed much light on it other
than saying that they are identical:
Above link is for Windows but the layout stands for Linux as well.
> Thanks a lot.
> java-devel mailing list