Pycharm安装抱怨OpenJDK [英] Pycharm install complains about OpenJDK

查看:272
本文介绍了Pycharm安装抱怨OpenJDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在Ubuntu 12.04上安装Pycharm并且我有这些信息:

I try to install Pycharm on Ubuntu 12.04 and I have this information:

user@user:~/Pobrane/pycharm-2.5.2/bin$ sh pycharm.sh
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
OpenJDK Server VM (build 20.0-b12, mixed mode)
WARNING: You are launching the IDE using OpenJDK Java runtime.

         ITS KNOWN TO HAVE PERFORMANCE AND GRAPHICS ISSUES!
         SWITCH TO THE ORACLE(SUN) JDK BEFORE REPORTING PROBLEMS!

NOTE:    If you have both Oracle (Sun) JDK and OpenJDK installed
         please validate either PYCHARM_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation.
         See http://ow.ly/6TuKQ for more info on switching default JDK.

Press Enter to continue.

如何正常工作?

推荐答案

由于Oracle设置的限制,大多数新发行版不再包含Oracle(Sun)JDK。相反,它们随附OpenSDK。虽然OpenSDK适用于大多数应用程序,但PyCharm似乎有一些问题。

The Oracle (Sun) JDK is no longer included by most newer distributions due to restrictions set by Oracle. Instead they ship with OpenSDK. While OpenSDK works for most applications, PyCharm seems to have some issues with it.

您必须手动安装Oracle(Sun)JDK并确保它是默认的JDK或在启动PyCharm时设置适当的环境变量。

You have to install the Oracle (Sun) JDK manually and make sure it's the default JDK or set the appropriate environment variables when launching PyCharm.

这篇关于Pycharm安装抱怨OpenJDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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