Ubuntu under Install Pycharm appears unsupported Major.minor version 52.0

Source: Internet
Author: User
Tags unsupported

(a) Reason

Ubuntu under Pycharm installation: https://jingyan.baidu.com/article/60ccbceb4e3b0e64cab19733.html

Pycharm activation: https://www.cnblogs.com/kuoAT/p/7684551.html (pro-Test second active)

Jtbrains Student Free User application: https://www.jetbrains.com/student/

Reference Answer: http://www.bubuko.com/infodetail-2540409.html

This error means that the JDK version is too low to look at the version will find inconsistencies

Java--Versionjavac--version

At this point, follow the steps below to view the default JDK path:

which Java

Display as:/usr/bin/java, go to the directory and delete the default Java

Cd/usr/bin   #进入到usr目录下的bin目录下sudo rm-rf java  #删除默认的javasudo ln-s $JAVA _home/bin/java  /usr/bin/java  #将自己安装的java链接到默认的java安装目录下
# (You must have installed a new version of Java and configured the JAVA_HOME environment variable here)

Looking at the Java version now becomes the one we installed ourselves.

Then go into the bin folder inside the Pycharm and execute. The./pycharm.sh command opens the Pycharm

(ii) Installation and configuration of the Java environment

Python and JDK already installed

To install a new version of the JRE, refer to the following blog

52691398

After installation can be used, the second open when the version does not match the error, viewed the Java and Javac version, the discovery is still different. Finally found the reason is source/etc/profile only valid for this shell, the modification method is to put the text configuration Java_home code in ~/.BASHRC, success!

(iii) Start icon settings

Every time into the directory to execute SH feel good trouble, found the Baidu experience under the settings, convenient and quick to have similar to win under the shortcut

https://jingyan.baidu.com/article/c45ad29c030102051753e20f.html?qq-pf-to=pcqq.c2c

Ubuntu under Install Pycharm appears unsupported Major.minor version 52.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.