Apple logo -> System Preferences -> JavaJava tab (of General, Update, Java, Security, Advanced tabs)From the "Path" field copy and paste the java executable. (Mine is /Library/Internet\ Plugins/JavaAppletPlugin.plugin/Contents/Home/bin/java)Use this path where you had "java" before