下载MAT后, 解压得到mat.app, 但是直接点击打开出错, 显示错误信息在文件
/Users/along/.eclipse/762171948_macosx_cocoa_x86_64/configuration/1539580415773.log
中.
1. 打开错误信息
cat /Users/along/.eclipse/762171948_macosx_cocoa_x86_64/configuration/1539580415773.log
显示:
!SESSION 2018-10-15 13:13:35.692 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_CN
Framework arguments: -keyring /Users/along/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/along/.eclipse_keyring
!ENTRY org.eclipse.osgi 4 0 2018-10-15 13:13:36.824
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: The platform metadata area could not be written: /private/var/folders/6k/zthtjldx3p57hklv6rk636lr0000gn/T/AppTranslocation/A7533741-5F9A-499C-9ADA-6799A79C1AC3/d/mat.app/Contents/MacOS/workspace/.metadata. By default the platform writes its content
under the current working directory when the platform is launched. Use the -data parameter to
specify a different content area for the platform.
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(D