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
 ls
 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

www.ackshaey.com

Advertisements

Installing JDeveloper 12c on Mac OSX Mavericks

Oracle has a pretty nice installer for Windows. Linux users are expected to know how to set things up. Mac OSX is where things start getting a little iffy. This is a small guide I’ve compiled on getting JDeveloper to work on a Mac OSX Mavericks system (I upgraded yesterday).

Install the latest JDK

Screen Shot 2013-10-27 at 9.31.17 PM

Make sure you install the latest available JDK from here and choose the Mac OSx .dmg file. As of this writing, the latest version is 7u45. Double click the dmg to install. Once done, open your terminal and type

which java

You should get the installation path.

Screen Shot 2013-10-27 at 9.32.22 PM

Download the generic JDeveloper jar

Download the latest JDeveloper generic .jar from here . Choose the generic option

Screen Shot 2013-10-27 at 9.36.34 PM

Save the file to the downloads folder. Once the download completes, open the terminal.

cd ~/Downloads
ls *.jar
>>jdev_suite_121200.jar
java -jar jdev_suite_121200.jar

Screen Shot 2013-10-27 at 9.38.26 PM

This should open the installer. Choose all defaults and install. Choose everyone in the options so that everyone can make changes. Complete the installation.

Screen Shot 2013-10-27 at 9.40.32 PM

And that’s it! Pretty straightforward. Now you can continue setting up JDevloper to work with either ADF and ADF Mobile applications. I’ll cover that in another tutorial.

Comments are welcome! You can visit me at www.ackshaey.com, which should have links to LinkedIn, Github and other good stuff.

– Ackshaey Singh

www.ackshaey.com