Tuesday, August 28, 2012

JDeveloper does not start after Mountain Lion upgrade

With Mountain Lion (OS X 10.8), I have found my first upgrade hurdle - starting JDeveloper give me a bash script that runs forever with ~100% CPU utilisation.

I am currently running the Studio Edition Version 11.1.2.1.0

Google gave me a good first place to start : A Mountain Lion Ate My JDeveloper. While this sounds like the right solution, I am going with a simple hack for now; it is to use JDK 1.7 and ignore the warning seen at startup.

Edit ~/Oracle11121/Middleware/jdeveloper/jdev/bin/jdev.conf

replace

SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

with

SetJavaHome /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
So far, so good and I am able to see my current projects and compile my code.

You mileage may varies.

2 comments:

Eric Rajkovic said...

If you need to get the setup for SQL Developer, there is another blog entry you may find usefull : http://www.thatjeffsmith.com/archive/2012/07/install-oracle-sql-developer-on-os-x-mountain-lion/

Eric Rajkovic said...

To get my instance fixed, I ran the script once and used /usr (used which java to find the path) as the location for my JVM:
$ cd /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
$ ./sqldeveloper
After that, the original Application icon is working and all my history is available (the DB connections is really useful !!!)