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

查看:37
本文介绍了如何使用 JDK 7 在 Mac OS X 上运行 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?

如何在带有 JDK 7 的 Mac OS X 上运行 IDEA IntelliJ?

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

推荐答案

更新:

在 JDK 1.7 上运行 IDEA 12 时(在 Info.plist 中将 JVMVersion 更改为 1.7* 之后)确保您有 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:

请参阅此线程以调试启动器问题.

另请注意,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/

目前 Mac 上的 JDK 1.7 支持存在已知问题,例如缺少 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.

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

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