Reputation: 37
I don't can run intellij IDEA on fedora MATE 22.
Error:
tools.jar' seems to be not in idea classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.
Upvotes: 1
Views: 4085
Reputation: 100
As you've been told, install the official JDK from Oracle. Then run in the terminal:
alternatives --config java
And choose the official JDK.
Upvotes: 2
Reputation: 168
fedora comes with native package support for openjdk. but to run intellij idea without problems on fedora, you really need to use the jdk from oracle (sun), not openjdk. that is what i was told by intellij. empirically, they've been right.
Upvotes: 2
Reputation: 26926
First check if you have installed a JDK on you system.
If not download and install it.
Second verify that the JAVA_HOME variable is set and pointing to JDK root?
Upvotes: 0