Created
April 7, 2017 17:48
-
-
Save mxmader/57e77b02e404580c2f9f4f98f1ad626d to your computer and use it in GitHub Desktop.
android studio for linux start script (fedora)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script assumes you've installed the Oracle JDK on a Fedora system. | |
# Copy the script into the bin/ directory of your Android Studio installation base directory. | |
studio_script="`dirname $0`/studio.sh" | |
JAVA_HOME=/usr/java/latest | |
# In the event you want to use the OpenJDK distribution on Fedora, uncomment the below | |
#JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk.x86_64 | |
echo "Setting JAVA_HOME" | |
export JAVA_HOME | |
echo "Launching Android Studio" | |
$studio_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment