Where is tools.jar located?

前端 未结 5 920
情深已故
情深已故 2020-12-29 11:11

Running CentOS 6, Java 1.7.0_25 OpenJDK

Upon installing the RPM I saw it say

Unpacking JAR files...
rt.jar
js         


        
5条回答
  •  情话喂你
    2020-12-29 11:25

    Linux Centos 6,

    you can use sudo find / -name "tools.jar" command to find the file location.

    tools.jar is normally located under /usr/lib/jvm/java-1.7.0.70.x86_64/lib/tools.jar

    tools.jar is not in JRE.

    My case, tools.jar file is generated only after installing java-1.7.0-openjdk-devel.

    sudo yum install java-1.7.0-openjdk-devel

提交回复
热议问题