Monday, September 8, 2014

Install JDeveloper on OS X

If you attempt to install JDeveloper on OS X Mavericks or OS X Yosemite, you may run into a few common issues.
  1. The installer window is really small, and the only visible button is Exit.
  2. The installer may fail with an error indicating, "Fatal error during installation..." The installer then terminates and cleans up the installation files. This issue occurs because the JDeveloper installer will not run with JDK7.
  3. You may get JDeveloper installed with Java for Mac 1.8; however, I have found that the Property Inspector crashes in a reproducible fashion which basically renders JDeveloper useless.

What You'll Need

Download the following binaries from Oracle
  • JDeveloper Generic
  • JDK6
  • JDK7


These steps also work for JDeveloper

Install both JDK6 and JDK7.
Launch Terminal and issue the following command.

/usr/libexec/java_home --version 1.6.0 --exec java -jar jdevstudio11117install.jar
Uncheck the selected JDK. This is JDK6 that we used to run the installer.
Browse to the install location of JDK7.
Make sure JDK7 is selected as the Local JDK. This is the JDK we want to use to run JDeveloper and the integrated WLS instance from now on.

Edit jdev.conf to increase MaxPermSize

Open ${Middleware_Home}/jdeveloper/jdev/bin
Comment existing AddVMOption
AddVMOption  -XX:MaxPermSize=512M

Edit ide.conf to increase heap size

Comment existing AddVMOption
AddVMOption -Xmx1024M
AddVMOption -Xms1024M

No comments:

Post a Comment