I'm puling my hair out over this one. I can't get Visual Studio 2015 to reliably pick up my JAVA_HOME directory. Does anyone know how I can fix this? I have tried clearing the cordova cache, re-starting the pc and none of it seems to work.
I can't get Visual Studio 2015 to reliably pick up my JAVA_HOME directory.
You can override JAVA_HOME of VS by Tools->options->Tools for Apache Cordova->Environment Variable Overrides
: