You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "D Tim Cummings (JIRA)" <ji...@apache.org> on 2013/11/08 09:17:17 UTC

[jira] [Created] (CAY-1881) CayenneModeler (Mac version) doesn't work with Java 7

D Tim Cummings created CAY-1881:
-----------------------------------

             Summary: CayenneModeler (Mac version) doesn't work with Java 7
                 Key: CAY-1881
                 URL: https://issues.apache.org/jira/browse/CAY-1881
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 3.2M1
         Environment: Mac OS X 10.9 Mavericks
Oracle Java jdk1.7.0_45
            Reporter: D Tim Cummings
            Priority: Minor


The Mac specific CayenneModeler 3.2M1 doesn't work when the only java on the Mac is jdk1.7.0_45. The symptom is it won't open. I tried installing it again, but OS X Mavericks says CayenneModeler is damaged and gives me the option to delete it. The platform independent version of CayenneModeler 3.2M1 works fine with jdk1.7.0_45. 

I can confirm that installing java 6 from Apple solved the problem. 

To prevent Java 6 from wanting to install, I had edited /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Info.plist

and replaced

<key>JVMCapabilities</key>
<array>
 <string>CommandLine</string>
</array>

with the following:

<key>JVMCapabilities</key>
<array>
 <string>JNI</string>
 <string>BundledApp</string>
 <string>WebStart</string>
 <string>Applets</string>
 <string>CommandLine</string>
</array>








--
This message was sent by Atlassian JIRA
(v6.1#6144)