Ma eggs actually mentally handicapped on the issue jdk

Today, re-install the system in oracle download the latest jdk8.0, installed, configured environment variables have been successful, still can not be executed from the command line javac command. Jdk installation directory to find the bin which does not javac program, so I am very surprised, do not use the new version of jdk javac compile the program?
By searching the Internet issue, because the original is downloaded jdk jdk and jre program contains two installer, I put them in the same directory to install, resulting in the installation of the jdk jre overwrite bin directory, so I see javac program is not in fact belong to the bin directory of the jre.
Jdk uninstall reinstall, this time choose a different path when installing jre, the problem is resolved.
----------------
Disclaimer: This article is CSDN blogger "lkdlmu 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. .
Original link: https: //blog.csdn.net/lkdlmu/article/details/51762942

Guess you like

Origin www.cnblogs.com/lijun6/p/12274435.html