title: Installing IDEA on Ubuntu 11.10
body: <p>I am trying to install IDEA on Ubuntu 11.10. First, I installed <code>openjdk-7-jdk</code>. Then I tried running the <code>idea.sh</code> file as instructed. However it complains:</p>
  
  <pre><code>ERROR: cannot start IntelliJ IDEA.
  No JDK found to run IDEA. Please validate either IDEA_JDK, JDK_HOME or JAVA_HOME 
  environment variable points to valid JDK installation.
  
  Press Enter to continue.
  </code></pre>
  
  <p>Trying to <code>echo</code> these three variables prints an empty line to the screen. How (and to what values) do I set these variables and proceed with the installation? Thanks.</p>