■ After you updated mac OS, If your mac show the following error message when execute the Eclipse.
■■■ This is the solution ■■■
■ Move the java home
$ cd /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/
■ Edit the following file.
$ sudo vim ./Info.plist
# Before
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
# After<array>
<string>CommandLine</string>
</array>
<key>JVMCapabilities</key>
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>CommandLine</string>
</array>
■ If it doesn't changed anything, make the directory<array>
<string>JNI</string>
<string>BundledApp</string>
<string>CommandLine</string>
</array>
$ sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
$ sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
$ sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
No comments:
Post a Comment