Hi Deepak, 

After reading the documentation, I understand a little more. 

Thanks a lot for your answer :)
Athenas

On Mon, Nov 16, 2015 at 10:23 AM, Deepak Bhole <dbhole@redhat.com> wrote:
* Athenas Jimenez <athenasjim@gmail.com> [2015-11-16 10:44]:
> Hi, 
>
> 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-1.8.0.65-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:
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/jdkfiles.html

Above link is for Windows but the layout stands for Linux as well.

Deepak

> Thanks a lot.
> Athenas

> --
> java-devel mailing list
> java-devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/java-devel