Here are the three easiest ways to fix Java’s “not recognized as an internal or external command” error: Install or reinstall Java and the JDK on your computer Add Java’s bin directory to the computer ...
CentOS系统,原来使用的是系统自带的openjdk1.7,后来我安装成了jdk1.6版本,而且把自带的openjdk删除了 问题是,我使用root用户 ...