java - Is there a way to force Android Studio to use JAVA_HOME or JDK_HOME in the "Project Structure | JDK Location" dialog? -


locations android sdk, android ndk, , jdk specified here in android studio.

project structure dialog

i'd leave "jdk location" field blank (or that) android studio uses "java_home" and/or "jdk_home" environment variables instead. results in error @ bottom of dialog stating valid jdk path must specified.

i've tried putting %java_home% , $java_home$ dialog box "jdk location" don't work (i.e. same error message @ bottom).

the reason want because develop across multiple pcs , anytime there's java update have manually remember update android studio well. if use environment variables, updates smoother.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -