Uninstalling JDeveloper 12c from Mac OSX Mavericks

So, we installed JDeveloper 12c successfully on a Mac running Mavericks. Now, and only now do I realize that I need v11.1.2 to be able to get ADF Mobile. Uninstalling JDeveloper can be a little woozy as well. Here are some quick steps. The official instruction on Oracle’s page here did not work for me. Here’s what did :

1) Quit JDeveloper and navigate to the JDEV_HOME directory. If your environment variables are set,

cd JDEV_HOME/oui/bin

should do the trick. However, in my installation the env variable was not set and I had to manually find it. This worked for me, and your path will probably be similar …

 cd /Users/ackshaey/Oracle/Middleware/Oracle_Home/oui/bin
 sh install.sh -deinstall

Screen Shot 2013-10-27 at 10.23.23 PM

Screen Shot 2013-10-27 at 10.22.45 PM

This should open a nice uninstaller. The official instructions ask you to launch sh deinstall.sh directly, but that did not work for me. Rather than look at the code, I’ll be lazy and attribute that to either an Oracle bug or incompatibility with Mavericks. Anywho, let’s move on.

The uninstaller should work with all default options. At the end, you’ll get something like this.

Screen Shot 2013-10-27 at 10.27.34 PM

But wait! We’re not done yet. This uninstaller did not remove the Oracle Home directory for me, so let’s delete it manually.

cd ~
rm -rf Oracle

Screen Shot 2013-10-27 at 10.31.33 PM

And that’s it! You’ve successfully removed JDeveloper 12c from your Mac. And now I can go back to installing v11.2 so that I can work with ADF Mobile!

– Ackshaey