1

I'm trying to find where tools.jar file on CentOS 6. People are saying they can locate their tools.jar in /java/jre/lib/tools.jar but mine is nowhere to be found. https://www.dropbox.com/s/e1au9v9a12u5fk5/Screenshot%202015-01-02%2023.54.50.png?dl=0 When I type "locate tools.jar" it returns no results.

[root@ns504063 lib]# java -version
java version "1.7.0_71"
OpenJDK Runtime Environment (rhel-2.5.3.2.el6_6-x86_64 u71-b14)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

[root@ns504063 lib]# which java
/usr/bin/java

Thanks in advance, toby.

Toby Mellor
  • 8,093
  • 8
  • 34
  • 58

1 Answers1

3

You don't seem to have JDK installed (but JRE), JDK contains tools.jar, So download [jdk-7u71-linux-x64.tar.gz] and extract it

jmj
  • 237,923
  • 42
  • 401
  • 438