如何在Mac OS X上使用JDK 7运行IDEA IntelliJ? [英] How do I run IDEA IntelliJ on Mac OS X with JDK 7?

查看:300
本文介绍了如何在Mac OS X上使用JDK 7运行IDEA IntelliJ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Mac OS X 10.8.2,并使用JDK 7.现在我下载了最新版本的IDEA IntelliJ,11。但它似乎没有启动JDK 6.是否有任何解决方法?

I use Mac OS X 10.8.2, and use JDK 7. Now I downloaded the latest version of IDEA IntelliJ, 11. But it doesn't seem to start without JDK 6. Is there any workaround?

如何在Mac OS X上使用JDK 7运行IDEA IntelliJ?

How can I run IDEA IntelliJ on Mac OS X with JDK 7?

推荐答案

更新:

在JDK 1.7上运行IDEA 12时(在将 JVMVersion 更改为<之后) code> 1.7 * in Info.plist )确保你有 LANG = en_US.UTF-8 在您的环境中,请参阅相关的Java问题:

When running IDEA 12 on JDK 1.7 (after changing JVMVersion to 1.7* in Info.plist) make sure you have LANG=en_US.UTF-8 in your environment, see the related Java issues:

  • http://java.net/jira/browse/MACOSX_PORT-165
  • http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7187821

请参阅此主题以了解调试启动器问题。

Refer to this thread for debugging launcher issues.

Pl easy也要注意Mac上的GUI应用程序无法访问您的终端环境。如果您已经定义了一些在终端中工作正常的环境变量,那么您不是从终端运行的其他应用程序将看不到这些变量。此问题的解决方法是直接从终端启动应用程序,对于IDEA,可以使用以下命令:

Please also be aware that GUI applications on Mac have no access to your Terminal environment. If you've defined some environment variables that work fine in Terminal, other applications that you run not from the Terminal will not see these variables. A workaround for this problem is to start the application directly from the Terminal, for IDEA the following command can be used:

open -a /Applications/IntelliJ\ IDEA\ 12.app/

JDK 1.7存在已知问题现在支持Mac,就像缺少Retina支持,可能的闪烁,一些未实现的API 。强烈建议在JDK 1.6下运行IDEA以获得最佳的Mac体验。它不会阻止您使用JDK 1.7作为构建和运行项目的目标。

There are known issues with JDK 1.7 support on Mac right now, like missing Retina support, possible flicker, some APIs not implemented. It's highly recommended to run IDEA under JDK 1.6 for the best experience on Mac. It doesn't stop you from using JDK 1.7 as a target for building and running your projects.

IntelliJ IDEA 11启动器不适用于Mac上的JDK 1.7。
目前您必须安装JDK 1.6才能运行IDEA 11及更早版本。

IntelliJ IDEA 11 launcher will not work with JDK 1.7 on Mac. At the moment you must have JDK 1.6 installed so that you can run IDEA 11 and older versions.

这篇关于如何在Mac OS X上使用JDK 7运行IDEA IntelliJ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆