title: Error:Process 'command '/usr/local/android-studio/jre/bin/java'' finished with non-zero exit value 2
body: <p>Android Studio 2.2.3;<br>
  Java 8;<br>
  Ubuntu 14.10;<br>
  laptop: Asus K72F.</p>
  
  <p>I spent no less than twenty hours on a Udacity course, learning the basics of XML as part of an Android course.</p>
  
  <p>I installed Java on my Ubuntu machine, then Android Studio IDE.</p>
  
  <p>Followed instructions on the course's videos and pages.
  Tried saving my first project, but never made it to the first step...</p>
  
  <p><strong>Error:Process 'command '/usr/local/android-studio/jre/bin/java'' finished with non-zero exit value 2</strong></p>
  
  <p>I've found no intelligible instructions on the web.</p>
  
  <p>I've been using Ubuntu, Linux, Mac OS X and Unix for ten years now, and I've solved one or two hundred problems with and without the command line, most often copying and pasting from Stack Overflow pages.</p>
  
  <p>I've explored menus on Android Studio, I've opened lib folders. Some posts suggested changing libraries but failed to mention which ones and how.</p>
  
  <p>Another post suggested changing "overrides" but, without a sealed project, Code > Override Methods stays grey and I can't act on it ... Another vicious circle.</p>
  
  <p>One post suggested downgrading to Java 7. I thought the IDE setup for the Linux community might be slightly old, so I uninstalled Java 8 and got Java 7. Got rid of the IDE folder and reinstalled Android Studio, but this time I put it in /usr/local to play it safer. No, Java 7 wasn't supported so I had to upgrade and go back to Java 8.</p>
  
  <p>I've been stuck for three weeks now. Yesterday I tried installing the latest version of this IDE on Windows but there's a bug and it crashes before opening.</p>
  
  <p>I would appreciate it if you could state instructions taking nothing for granted, I am an absolute beginner with Android and gradle and the jargon is overwhelmingly different from Unix.</p>
  
  <p>This reminds of the time when everybody suggested opening a Terminal window but nobody said how.</p>
  
  <p>Please tell me which menus I have to go to, what lines to change, or which libraries to change and where to fetch them. 
  Thank you for your time and trouble!</p>