OS X El Capitan‎でCayenneModelerが起動しない

open /Applications/cayenne-2.0.4/CayenneModeler.app/
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/cayenne-2.0.4/CayenneModeler.app.
open /Applications/cayenne-2.0.4/CayenneModeler.app/Contents/MacOS/JavaApplicationStub 


[JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory
[LaunchRunner Error] No main class specified
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.NullPointerException
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:113)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
    at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)

どうやらJVM1.6がないあたりが問題のようです。。。

https://github.com/caskroom/homebrew-cask/issues/4500

http://moazzam-khan.com/blog/?tag=lsopenurlswithrole-failed-with-error-10658-for-the-file-applicationsphpstorm-app