Unable to understand what jdk location is
All ubuntu JRE and JDK installs gets stored in /usr/lib/jvm/
.
You need to add the multi-arch specific JDK location to Idea12.
For example, on 32-bit x86 Ubuntu installations, use /usr/lib/jvm/java-7-openjdk-i386
.