Skip to main content

The recommended way (link) is to set the STUDIO_JDK environment variable before launching.

export STUDIO_JDK=/usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64
./studio.sh

replacing /usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64 with the path of your jdk installation

Reference: Configuring Android Studio: IDE & VM Options, JDK, etc - Android Tools Project Site

The recommended way (link) is to set the STUDIO_JDK environment variable before launching.

export STUDIO_JDK=/usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64
./studio.sh

replacing /usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64 with the path of your jdk installation

The recommended way is to set the STUDIO_JDK environment variable before launching.

export STUDIO_JDK=/usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64
./studio.sh

replacing /usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64 with the path of your jdk installation

Reference: Configuring Android Studio: IDE & VM Options, JDK, etc - Android Tools Project Site

Source Link
Xiao
  • 152
  • 7

The recommended way (link) is to set the STUDIO_JDK environment variable before launching.

export STUDIO_JDK=/usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64
./studio.sh

replacing /usr/lib/jvm/jdk1.8.0_25-1.8.0_25-fcs.x86_64 with the path of your jdk installation