
If not "%OS%" = "Windows_NT" goto win9xME_args Goto Get command-line arguments, handling Windows variants If defined JAVA_HOME goto findJavaFromJavaHomeĮcho ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.Įcho Please set the JAVA_HOME variable in your environment to match theĮcho ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% You can also use JAVA_OPTS and SDKMANAGER_OPTS to pass JVM options to this script.

Sdkmanager.bat contents: "%DEBUG%" = "" sdkmanager startup script for Set local scope for the variables with windows NT shell What is the deal with sdkmanager.bat? Why would I need to run that vs running android.bat directly, as I am doing now? I did, and the SDK manager GUI came right up! While doing research on the problem, I read somewhere that I should run android.bat directly. Instead, I get a help output that displays command line options (-list, etc). My question: When I ran sdkmanager.bat, the GUI does not come up. I am not using Android Studio rather, I just need the SDK for Apache Cordova development.
