title: Android Studio doesn't launch: Could not find or load main class com.intellij.idea.Main
body: <p>Being new in Android devopmnet, I have been using Android Studio for development, but suddenly it doesn't work anymore.</p>
  
  <p>The program doesn't launch anymore, and If I execute the <em>studio.bat</em> from Command Prompt, I get the following error:</p>
  
  <blockquote>
    <p>Error: Could not find or load main class com.intellij.idea.Main</p>
  </blockquote>
  
  <p>I have seen other posts about Android Studio not launching (e.g. <a href="https://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found">this</a> and <a href="https://stackoverflow.com/questions/16574544/android-studio-does-not-launch-after-installation">this</a>), but neither of them solve my problem. I have set <code>PATH</code> variables for both <code>JAVA_HOME</code> and <code>JDK_HOME</code> correctly to <code>C:\Program Files\Java\jdk1.7.0_07</code></p>
  
  <p>As I have mentioned, Android Studio used to work and I don't have any idea why it has stopped working. Any clue?</p>