Search code examples
javamacosterminalosx-mountain-lion

Install Java on MAC OSX 10.8.2 Error calling: CFMessagePortCreateRemote


Hello I am trying to install Java on my mac with osx 10.8.2.

If I am typing java -version in the terminal, I get the following error:

No Java runtime present, requesting install. 2013-03-08 08:36:03.477 java[1192:707] JLRequestRuntimeInstall: Error calling: CFMessagePortCreateRemote

Yesterday I completely uninstalled java 6 from my pc with sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

After downloading Java 7u17 from the oracle site and installing it, the installer said that Java was completely installed. I typed again java -version and it gave me the same error (No Java Runtime present).

Do you know any solution for this problem?


Solution

  • I finally fixed it by uninstalling everything with java and installing the java packet with the sdk.