Hello I am on Linux Mint 16 KDE 64.
I have OpenJDK 7 installed and Oracle JDK 7 and if I run Intellij as a normal user I get:
'tools.jar' seems to be not in IDEA classpath. Please ensure JAVA_HOME points to JDK rather than JRE
Also if I run gradle build on any of our projects as a normal user I get:
Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.
If I run
Then I get:
I get the same thing if I run it with sudo.
As per the comments below javac -version produces:
Same result with sudo.
What am I doing wrong?