JDeveloper OS X – LSOpenURLsWithRole() failed with error -10810 for the file JDeveloper.app

After downloading the JDeveloper I have encountered the issue with starting it on OS X.

I have an ugly fix, but it works.

If you go to Terminal, and start JDeveloper by typing

open JDeveloper.app

and you get the message

LSOpenURLsWithRole() failed with error -10810 for the file JDeveloper.app

There is a workaround

1. Create symbolic link in your JDK

cd /System/Library/Frameworks/JavaVM.framework/Versions/Current
ln -s Commands bin

2. Start JDeveloper by running it manually

cd jdeveloper/jdev/bin
./jdev

3. Provide the location of the JDK

/System/Library/Frameworks/JavaVM.framework/Versions/Current

You should see JDeveloper starting up.

I know this is an ugly fix, but I had no time for anything more.