installed openjdk-6. so how do i configure intellij (downloaded as a gzip) to start? needs JAVA_HOME
turns out the JDK files are put in /usr/lib/jvm directory. then the JAVA_HOME needs to be put in /etc/environment.
oh yes, and the javadocs are in openjdk-6-doc or something like that.