Difference between openjdk-6-jre, openjdk-6-jre-headless, openjdk-6-jre-lib

后端 未结 2 2082
野趣味
野趣味 2020-12-08 01:59

I am having trouble understanding some of the basics of Java JRE.

I need to run Java code in an embedded system and for this I need a minimal Java Runtime Environmen

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-08 02:14

    The main reason for having two distinct packages available are the dependencies of the packages. openjdk-6-jre will also depend on:

    libasound2, libgif4, libjpeg62, libpng12-0, libpulse0 , libx11-6, libxext6, libxi6, libxrender1, libxtst6 and zlib1g
    

    And contrary to the previous comment openjdk-6-jre depends on openjdk-6-jre-headless, making the latter really just a subset.

提交回复
热议问题