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 ...
Just FYI - "java -version" is depreciated, since Apple no longer supplies Java as of 1.7. My 1st suggestion was simply to download and re-install, but you've already done that. I would use the PC post ...