Why do I need Java 6 to run Pycharm?

最后都变了- 提交于 2020-06-29 20:33:29

问题


Every time I try to open Pycharm it says: You need Java 6. What does Pycharm have to do with Java 6 and where can I download it?


回答1:


Pycharm is based on the same framework as IntellJ, which is written in Java.

Hence you need Java to run it. For Windows it may be sufficient to install Java from http://java.com/en/download/ as directed to run Pycharm - if not, you need to install manually from http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Note that the error message is slightly confusing. A better wording would be "Requires Java 6 or newer to be available" - this is possible as new releases of Java traditionally has been very backwards compatible.

(I cannot unconditionally recommend OpenJDK except for advanced users, as I have seen unsatisfactory results on Ubuntu).


2020 edit: OpenJDK is now fully recommendable (a lot has happened since 2015). Some downloads include a runtime JVM so PyCharm works out of the box.




回答2:


Presumably the IDE is written in Java (since JetBrains also makes intelliJ I suspect this is the case); as for Java 6 (specifically) you can get it from Oracle here or from openjdk here but you can almost certainly run it with a more recent version like Java 7 or Java 8.



来源:https://stackoverflow.com/questions/27869334/why-do-i-need-java-6-to-run-pycharm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!