Error starting Android Studio after update

0

Hello, I was using Android Studio normally until the IDE asked me to upgrade and that's what I did. But after the update I got the following error: " No JDK found. ". So I tried to add the following line to the aruive "studio.sh": " JAVA_HOME=" /usr/local/jdk1.8.0_73/ " .But the problem still persists, does anyone know why?

    
asked by anonymous 25.08.2016 / 21:31

1 answer

1

Includes bin in the address of your jdk , the line below in your system variables. Here's a tutorial for how to edit system variables in linux.

JAVA_HOME = "/usr/local/jdk1.8.0_73/bin

Or maybe it's a permission issue, as I looked and found that the owner and group were undone, so you can change the permission / ownership with:

chown -R root:root android-studio

After that:

cd /usr/share/applications/android-studio/bin

and run

./studio.sh

Then try running Android Studio again.

    
25.08.2016 / 21:36