Il y a une spécification comme celle-là au bas de /Applications/mat.app/Contents/Info.plist, alors réécrivez-la.
<key>Eclipse</key>
<array>
<string>-vm</string><string>/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java</string>
<!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
or add a VM found via $/usr/libexec/java_home -V
<string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
-->
<string>-keyring</string>
<string>~/.eclipse_keyring</string>
<string>-showlocation</string>
</array>
Selon https://www.eclipse.org/forums/index.php/t/1090889/, cela semble être un problème avec la version SWT.
Téléchargez SWT depuis https://www.eclipse.org/downloads/download.php?file=0eclipse/downloads/drops4/R-4.7.1a-201710090410/swt-4.7.1a-cocoa-macosx-x86_64.zip Et remplacez-le.
mv swt.jar /XXXXXXXXXXXXXXXX/mat.app/Contents/Eclipse/plugins/org.eclipse.swt.cocoa.macosx.XXXXXXXXXXXXXXXX.jar
Recommended Posts