I wanted to try the brand new IDE from JetBrains for C/C++ development. It's called CLion.
It was really easy to deploy. I downloaded the tar from their site and executed
./clion.sh
But, after a short time ... the JVM crashed :O
I was really sad and tried the quick and dirty fix - upgrading my JRE ...
I gave clion.sh a second chance but the same exception comes out ...
I notice the jre directory near it. Maybe it uses it ?
I check the java -version of it and discovered it's OpenJDK RE 1.8
A little survey in clion.sh reveals it secrets:
# Locate a JDK installation directory which will be used to run the IDE.
# Try (in order): CL_JDK, ../jre, JDK_HOME, JAVA_HOME, "java" in PATH
so lets set CL_JDK to our installed JRE path and ... it's working :)
happy CLioning ^ ^
No comments :
Post a Comment