Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Android Studio 2.0 JDK?

I just installed Android Studio 2.0 on OSX 10.11.4. I get this error:

Running on a JDK8 version affected by drag and drop issues (1.8.0_60 through 1.8.0_76). See IDEA-146691 for details, and consider using a JDK outside the problematic range. IDEA-146691 did not help me.

Isn't the JDK bundled with Jetbrains IDEs? How am I supposed to change it?

My OSX Java is 8 Version 77.

Solution:

My fault: Java version in the OSX Settings is NOT the JDK version. Just download the new JDK as Alessio answered below.

like image 867
Obiwahn Avatar asked Apr 08 '16 11:04

Obiwahn


People also ask

What version of JDK is required for Android Studio?

From the SDK web page it states that JDK 6 is required (under system requirements section). Jim Wilson also insist in his course on Pluralsight (which is quite new, from last May) that using version 7 with the Android SDK will create a lot of headache and makes it clear to only use JDK 6.

Is JDK installed with Android Studio?

A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher, and this is the JDK version we recommend you use for your Android projects.

Can I use Java 17 with Android Studio?

2 Answers 2. As per the docs, JDK 17 isn't supported yet in Android Studio. Actually, JDK 11 was supported starting from version 4.2 which was released in April 2021.


2 Answers

I got the same error. Simply download the last release (1.8.0_77) from Java Official and the error will disappear. Probably you don't have the last version if the error still shows up, check the version via terminal javac -version

like image 130
Alessio Rossotti Avatar answered Oct 30 '22 18:10

Alessio Rossotti


See IDEA-146691 Drag and Drop (to move file) Dialog frozen - escape exits for details, and consider using a JDK outside the problematic range.

See Issue 201716: Buttons in move dialog not working

like image 1
pRaNaY Avatar answered Oct 30 '22 18:10

pRaNaY