I'm running OSX 10.8 and was trying to run the Android Studio app bundle using a private jdk rather than one that is globally installed.
EDIT: I don't have any java installation globally accessible.
I have done this successfully in the past with Eclipse by editing the plist.info file and specifying what JRE/JDK I want to use via the eclipse.ini file.
I haven't found the magic on how to do this with Android Studio.
After editing the plist file unsuccessfully I opened a terminal and added the JDK/bin directory to the PATH and set a JAVA_HOME but that wasn't enough for the idea_applauncher to find a Java installation where I had specified.
I'm not sure what else I could try to make this happen. Any ideas?
EDIT:
I don't have enough rep to post a screenshot, but below that what the command-line looks like with the output.
When I try to run the bundle I get a pop-up window saying there's no JDK installed and it has two buttons asking me to either "Install" or "Not Now"
$ ./idea_appLauncher
No Java runtime present, requesting install.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…