1[Email protected]:~/tools/phpstorm/bin$./phpstorm.sh 2Java HotSpot (TM) Server VM warning:ignoring option maxpermsize=250m; Support is removedinch 8.03ExceptioninchThread"Main"Java.lang.NoClassDefFoundError:Could not initialize class Java.awt.Toolkit4At Java.awt.component.<clinit> (Component.java:593)5At Com.intellij.idea.Main.showMessage (Main.java:221)6At Com.intellij.idea.Main.showMessage (Main.java:208)7At Com.intellij.idea.Main.main (Main.java:Bayi)8[Email protected]:~/tools/phpstorm/bin$Java-version 9Java version"1.8.0_25"TenJava (TM) SE Runtime Environment (build1.8.0_25-B17) OneJava HotSpot (TM) Server VM (build25.25-B02, Mixed mode)
From the above code we can see that Phpstorm cannot initialize the Java.awt.Toolkit class, and I am currently installing the Java version of the Ubuntu system is 1.8.0_25 (32-bit)
You also know the answer, is to install the 64-bit JDK, I later installed the "jdk-8u45-linux-x64tar.gz" after the solution.
I guess there are two reasons for this:
1. The JDK version does not correspond to the current number of systems, such as I am the Ubuntu 64 bit installed 32-bit JDK caused by
2. The currently installed JDK version is low (this should not be possible)
Ubuntu 64-bit Phpstorm Could not initialize class Java.awt.Toolkit