Ubuntu 64-bit Phpstorm Could not initialize class Java.awt.Toolkit

Source: Internet
Author: User

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

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.