Install jdk missing tools.jar and dt.jar

Will you really install jdk, is the jdk you installed missing tools.jar and dt.jar?

If you've ever been troubled by this problem like me, then read on.

 

 

When installing jdk, two installation paths will jump out, namely the installation path of jdk and the installation path of jre, pay attention! ! ! The two paths cannot be selected the same. If the same is selected, then jre will overwrite jdk, thus deleting tools.jar and dt.jar

 

So, why does jre not have tools.jar and dt.jar, because jre is used for compilation, and jdk is for developers, so jdk has it, but jre does not.

 

 

Well, this is the first time to write a Weibo, record the time (20170323-20:24)

If you don't like it, don't spray it! ! !

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326592327&siteId=291194637