Disclaimer: I have read the other questions around a similar issue and they don't work for me. In fact IntelliJ works for me, its just CLion that does not work for me.
I have JDK installed, and I do have tools.jar. JAVA_HOME is set correctly in my bashrc file (and in zshrc). IntelliJ works fine as well, something is broken in the CLion configuration on my box. Please assist.
I noticed that I dont have a config folder anymore for CLion in ~/Library/Preferences, so I copied IntelliJ2016.1 to CLion2017.3.1 (assuming that the internal idea.jdk file should be similar for CLion.). No luck.
I am a licensed customer, and have not been able to use the tool for a couple of months now!