Unable to start CLion: Linux Mint JDK 1.7u67

I am unable to start CLion while running Linux Mint using Oracle JDK 1.7u67

java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

clion-138.1965.18/bin $ ./clion.sh
[YourKit Java Profiler 2013 build 13074] Log file: /home/scott/.yjp/log/clion10-6673.log
13074 - 0.001: warning: deprecated option disablej2ee ignored; use probe_off=* or probe_disable=* options instead
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
    at java.awt.Component.<clinit>(Component.java:595)
    at com.intellij.idea.Main.showMessage(Main.java:209)
    at com.intellij.idea.Main.showMessage(Main.java:196)
    at com.intellij.idea.Main.main(Main.java:81)

Any suggestions?

Thanks
Scott

4 comments
Comment actions Permalink

Could you please try with JDK 1.8?
If it's still there could you please attach the full log?

0
Comment actions Permalink

Still fails to start on Linux Mint (Ubuntu based distro)

$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

$ ./clion.sh
[YourKit Java Profiler 2013 build 13074] Log file: /home/scott/.yjp/log/clion10-3725.log
13074 - 0.001: warning: deprecated option disablej2ee ignored; use probe_off=* or probe_disable=* options instead
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
    at java.awt.Component.<clinit>(Component.java:595)
    at com.intellij.idea.Main.showMessage(Main.java:209)
    at com.intellij.idea.Main.showMessage(Main.java:196)
    at com.intellij.idea.Main.main(Main.java:81)

Log is attached....

Scott



Attachment(s):
clion10-3725.log.zip
0
Comment actions Permalink

What window manager do you use?

Could you please check if at least any java appication with UI works for you?  Try smth like:
Download: https://java.net/projects/ojt-accessibility/downloads/download/Demos/SwingSet2.jar
And run with: java -jar SwingSet2.jar

0
Comment actions Permalink

Hello, I got this problem either. I tried your jar, It returned another problem.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/spark/java/jre/lib/i386/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
    at java.lang.Runtime.load0(Runtime.java:809)
    at java.lang.System.load(System.java:1083)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1835)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1119)
    at java.awt.Toolkit$3.run(Toolkit.java:1636)
    at java.awt.Toolkit$3.run(Toolkit.java:1634)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
    at java.awt.Component.<clinit>(Component.java:593)
Hope your reply

0

Please sign in to leave a comment.