[
https://issues.apache.org/jira/browse/CAY-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrus Adamchik closed CAY-1881.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.2M2
3.1B3
> 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
> Fix For: 3.1B3, 3.2.M2
>
>
> 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)