* 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 other day
looking into /usr/lib/jvm/java-1.8.0-openjdk-126.96.36.199-3.b17.fc21.x86_64 in my
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