telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

use process.env.JDK_HOME > process.env.JAVA_HOME #1031

Closed bluelovers closed 6 years ago

bluelovers commented 6 years ago

some ppl use JRE and JDK at same time

and some JRE didn't have javac

this small change make it use JDK_HOME first if it exists

rosen-vladimirov commented 6 years ago

Hey @bluelovers , Please excuse us for the delay and thanks for your efforts. I'm merging this PR and it will be included in the next major version of NativeScript CLI.