[fedora-java] Why there are duplicated binaries in openjdk?

Athenas Jimenez athenasjim at gmail.com
Mon Nov 16 22:06:46 UTC 2015


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 at redhat.com> wrote:

> * Athenas Jimenez <athenasjim at 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 at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/java-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20151116/0eaaf448/attachment.html>


More information about the java-devel mailing list