title: Can not start androidstudio only in console
body: <p>Hi my problem is the next, I downloaded <code>Android Studio</code> and if I go to</p>
  
  <blockquote>
    <p>/path/android-studio/bin</p>
  </blockquote>
  
  <p>and I execute <code>studio.sh</code></p>
  
  <p>I get the following error:</p>
  
  <pre><code>No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.
  </code></pre>
  
  <p>Now if I export <code>JAVA_HOME</code> </p>
  
  <pre><code> export JAVA_HOME=/usr/java/jdk1.7.0_25/
  </code></pre>
  
  <p>and execute <code>studio.sh</code> Android Studio works but now I create a <code>Symbolic Link</code> to <code>studio.sh</code></p>
  
  <pre><code>ln -s /path/android-studio/bin/studio.sh /usr/bin/androidstudio
  </code></pre>
  
  <p>and if I run <code>androidstudio</code> in console this one works, but now I want to create a <code>Gnome launcher</code></p>
  
  <p>So I did this:</p>
  
  <pre><code>vi /usr/share/AndroidStudio.desktop
  </code></pre>
  
  <p>and I put the next code into the file:</p>
  
  <pre><code>[Desktop Entry]
  Name=Android Studio
  GenericName=IDE para Android
  X-GNOME-FullName=IDE para Android - Android Studio
  Comment=Desarrolla aplicaciones para Android
  Exec= /usr/bin/androidstudio
  Terminal=false
  StartupNotify=true
  Type=Application
  Icon=/opt/android-studio/bin/idea.png
  Categories=Development;
  Name[es_ES]=Android Studio
  </code></pre>
  
  <p>but at the moment I run <code>AndroidStudio launcher</code> this one gives me the next error:</p>
  
  <pre><code> No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.
  </code></pre>
  
  <p>I think doing again:</p>
  
  <pre><code> export JAVA_HOME=/usr/java/jdk1.7.0_25/
  </code></pre>
  
  <p>Will fix the problem but no, the <code>launcher</code> still without working :C
  Thank's in advance!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>All I did it as <code>su</code> user.</p>