Unable to find tools.jar in JDK in Ubuntu

I have used the following command to install openjdk

sudo apt install openjdk-11-jdk

But there seems to be no lib/tools.jar present. I am sure that it is the jdk that I have downloaded and not the jre. What am I doing wrong here?

0

1 Answer

You're doing nothing wrong. tools.jar was removed in JDK 9. From JEP 220: Modular Run-Time Images:

Removed: rt.jar and tools.jar


Related post: How to get tools.jar for OpenJDK 11 on Windows? - Stack Overflow

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like