Linux.com

beginer_jj

beginer_jj

  • Linux.com Member
  • Posts: 1
  • Member Since: 14 Nov 13
  • Last Logged In: 14 Nov 13

Latest Posts

Posted by
Topic
Post Preview
Posted
  • beginer_jj
    I want to know the dependence Java.
    Hello all I'm beginner engineer. I'm investigating about the dependence of Java package. I use some servers at my office. And these Operation System are installed by Kickstart method. Also the same OS "Scientific Linux" is installed on these server. But there is the difference about installed Jave version. For example,Server "A" has java-1.7.0-openjdk-1.7.0.3-2.1.el6.7.x86_64, And Server "B" has java-1.6.0-openjdk-1.6.0.0-1.48.1.11.3.el6_2.x86_64. I think it's caused by the difference of Package selection in Kickstart-file. But I don't know how these Java was installed. As you know,if the one package need another package,it's installed automatically. So I think it's hard to know about the the dependence. Maybe some package needs these Java, and each Java was installed. I checked about the dependence of package in kickstart-file by following command. #rpm -q --whatrequires "package name" And I found out that "jpackage-utils" needs these java version. [root@server A ~]# rpm -q --whatrequires jpackage-utils java-1.7.0-openjdk-1.7.0.3-2.1.el6.7.x86_64 [root@server B ~]# rpm -q --whatrequires jpackage-utils java-1.6.0-openjdk-1.6.0.0-1.48.1.11.3.el6_2.x86_64 But I think this mean just "jpackage-utils" use these java, and this does not mean each java installed by "jpackage-utils". Because the description of "jpackage-utils" are written as the same in all kickstart-file. I checked about the dependence of all packages in kickstart-file. But I couldn't get the answer. Please give me good idea. BR
    Link to this post 14 Nov 13

    Hello all

    I'm beginner engineer.
    I'm investigating about the dependence of Java package.

    I use some servers at my office.
    And these Operation System are installed by Kickstart method.
    Also the same OS "Scientific Linux" is installed on these server.

    But there is the difference about installed Jave version.

    For example,Server "A" has java-1.7.0-openjdk-1.7.0.3-2.1.el6.7.x86_64,
    And Server "B" has java-1.6.0-openjdk-1.6.0.0-1.48.1.11.3.el6_2.x86_64.

    I think it's caused by the difference of Package selection in Kickstart-file.
    But I don't know how these Java was installed.

    As you know,if the one package need another package,it's installed automatically.
    So I think it's hard to know about the the dependence.

    Maybe some package needs these Java, and each Java was installed.

    I checked about the dependence of package in kickstart-file by following command.


    #rpm -q --whatrequires "package name"


    And I found out that "jpackage-utils" needs these java version.

    [root@server A ~]# rpm -q --whatrequires jpackage-utils
    java-1.7.0-openjdk-1.7.0.3-2.1.el6.7.x86_64

    [root@server B ~]# rpm -q --whatrequires jpackage-utils
    java-1.6.0-openjdk-1.6.0.0-1.48.1.11.3.el6_2.x86_64

    But I think this mean just "jpackage-utils" use these java,
    and this does not mean each java installed by "jpackage-utils".

    Because the description of "jpackage-utils" are written as the same in all kickstart-file.


    I checked about the dependence of all packages in kickstart-file.
    But I couldn't get the answer.

    Please give me good idea.


    BR

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board