Cannot start under Java 1.7.0_101-b00: Java 1.8 or later is required. After updation to Android Studio v2.2.0 (September 2016)
<p>I have updated android studio to 2.2.0 . It is is not going to restart again it prompt for "Cannot start under Java 1.7.0_101-b00: Java 1.8 or later is required."</p>

<p>I am using jdk 8 .</p>

<p><strong>echo $JAVA_HOME</strong> </p>

<p><strong><em>/usr/lib/jvm/java-8-oracle</em></strong></p>

<p><a href="https://i.stack.imgur.com/XHqbr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XHqbr.png" alt="enter image description here"></a></p>