Idea 13 Ultimate,Idea CE 13,OSX 10.9.3
昨天我的Idea13U的每件事都还可以,但是现在我遇到了错误。在出现此问题之前,我不会安装任何更新,程序,也不会更改操作系统的任何参数。 (想法13 CE工作正常)
...$ open -a /Applications/IntelliJ\ IDEA\ 13.app/
LSOpenURLsWithRole() failed for the application /Applications/IntelliJ IDEA 13.app with error -10810.
谷歌搜索后,我尝试了一些建议,但没有效果。
我也下载了Idea13 Community Edition,它在相同的设置下可以正常工作。
'java_home -V shows'的结果:
Matching Java Virtual Machines (4):
1.7.0_60, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
1.7.0_25, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home
1.6.0_65-b14-466.1, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-466.1, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
请帮助我,我不能工作! :((
最佳答案
对于以下错误:
/Applications/IntelliJ IDEA 14 CE.app/Contents/bin/inspect.sh
e2015-03-18 21:02:24.425 idea[962:382297] No matching VM found.
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory
[LaunchRunner Error] No main class specified
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.NullPointerException
at apple.launcher.LaunchRunner.run(LaunchRunner.java:113)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)
记住要在.bash_profile中正确设置JAVA_HOME变量:
export JAVA_HOME= /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
下载常规Oracle JAVA JDK之后
如果这不起作用-下载OS X 2014-001的 Java Java
来自here
您还可以编辑文件:
/ Applications / IntelliJ IDEA 14 CE.app/Contents/Info.plist
并将1.6更改为 1.8
关于macos - 无法在OSX上运行Intellij IDEA13 Ultimate(CE工作正常),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/24583665/