I\'m running IntelliJ Idea under linux. I have created a project and a module inside it, and in that module I have a class (MyClass.class) and when I\'m trying to run it from ID
Solved it. Remove all jdk/jre you have, install openjdk7.
Add this line to .bashrc
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386/ export PATH=$PATH:$JAVA_HOME/bin
Run Idea. Profit. :)