(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