Installed Java 7 on Mac OS X but Terminal is still using version 6
Oracle’s installer puts java inside the /Library/Internet Plug-Ins/JavaAppletPlugin.plugin. And it doesn’t overwrite /usr/bin/java. So, if you issue a whereis java in the terminal, it’ll return /usr/bin/java. (which in turn points to /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java, which is Apple’s 1.6 version). So, if you want to use the new java version, replace the /usr/bin/java symlink so that it points … Read more