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)
Solution 1:
I had the same problem under Ubuntu system. In my case problem was solved in few steps:
[Commands for java 8 installation]
$ sudo add-apt-repository ppa:webupd8team/java$ sudo apt-get update$ sudo apt-get install oracle-java8-installer
[Verify installed java]
$ java -version
$ javac -version
[Command for set java 8 as default]
$ sudo apt-get install oracle-java8-set-default
- Remove old java versions from [root]/usr/lib/jvm location
[In my case for java 7 version]
rm -r java-7-oracle
Restart your computer
Install Android Studio as mentioned inhttps://developer.android.com/studio/install.html
Solution 2:
The following steps solved the problem for me (Android Studio running on Windows Vista):
- Upgrade Java JDK to 1.8. Download link
- Update JAVA_HOME enviroment variable: Go to Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables. Select JAVA_HOME (or create one if missing) and Edit to point the new JDK folder (here is a good tutorial).
Now you can enjoy Android Studio.
Solution 3:
If you're on Windows and experiencing this, make sure that you run the studio executable that matches the bitness of your jdk installation.
So, if you have the 64bit JDK installed (which you should) then make sure to run studio64.exe
Solution 4:
Install java-8 (open JDK or Oracle JDK)
Update JAVA_HOME environment variable (to point java-8)
Delete Android Studio Shortcut from desktop
Start Android Studio from cmd (by executing the "path-to-android-studio-folder"/android-studio/bin/studio.sh)
This will run Android Studio. You can re-create shortcut from Android Studio->Tools->Create desktop entry...
Solution 5:
Adding a system variable JDK_HOME with value c:\Program Files\Java\jdk-xxxxx\ worked for me. The latest Java release can be downloaded here.
Additionally, make sure the variable JAVA_HOME is also set with the above location
Post a Comment for "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)"