Can't start up idea on Centos7 with java1.8.0_25

My idea can't start up with the problem below:
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=250m; support was removed in 8.0
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
    at java.awt.Component.<clinit>(Component.java:593)
    at com.intellij.idea.Main.showMessage(Main.java:221)
    at com.intellij.idea.Main.showMessage(Main.java:208)
    at com.intellij.idea.Main.main(Main.java:81)

Need your help

Yinhua

1 comment
Comment actions Permalink

Hello.

This looks like common JVM error, not specific for IDEA.

I did not try Centos, just googled and found this: http://stackoverflow.com/questions/20816568/android-studio-not-start-in-ubuntu-12-04-with-noclassdeffoundexception

Is your system 64-bit? And did you try 64-bit JDK?

Regards,
Alexander.

0

Please sign in to leave a comment.