Installing Phpstorm in Linux has encountered a problem
inch 8.0 in"main" which requires it. At Com.intellij.idea.Main.main (Main.java:+)
I do not know how to solve, the installation of the reference to the article is this article
However, when installing the JDK environment variable as shown in the blog encountered a problem, unable to install, and then, the environment variable according to the environment variable installed, installed, installed version is the previous version, that is, 1.8 version
Then download Phpstorm, run ./phpstorm. SH when the top of the problem, Google found that the problem is relatively small, and now has not been resolved.
OK, now it's about replacing the JDK version of Linux, uninstalling the Linux-brought JDK to replace the Sun's JDK Baidu a lot, but if I install the Sun's JDK is 1.7 to change to 1.8 how to solve it, the method is actually super easy.
Put the 1.8 JDK package in the folder you want to put, and then go to /etc/profile to change the path of the environment variable, that is, you originally placed the old version of the JDK address to the new JDK address, and then use source/etc/ profile, without using Rpm-qa | grep jdk to find the JDK.
When you use java-version , you will find that the version has been replaced.
Replace the JDK version in CentOS