You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lethelpfulMessage="You will not be able to build your projects for Android."+EOL
165
+
letadditionalMessage="You will not be able to build your projects for Android."+EOL
166
166
+"To be able to build for Android, verify that you have installed The Java Development Kit (JDK) and configured it according to system requirements as"+EOL+
167
167
" described in https://github.com/NativeScript/nativescript-cli#system-requirements.";
this.printMessage("JAVA_HOME environment variable points to incorrect path. Make sure it points to the installation directory of JDK.",helpfulMessage);
this.printMessage(`Javac version ${installedJavaVersion} is not supported. You have to install at least ${AndroidToolsInfo.MIN_JAVA_VERSION}.`,additionalMessage);
192
173
}
193
174
}else{
194
-
hasProblemWithJavaHome=true;
195
-
this.printMessage("JAVA_HOME environment variable is not set.",helpfulMessage);
this.printMessage(`Javac version ${installedJavaVersion} is not supported. You have to install at least ${AndroidToolsInfo.MIN_JAVA_VERSION}.`,helpfulMessage);
176
+
this.printMessage("Error executing command 'javac'. Make sure you have installed The Java Development Kit (JDK) and set JAVA_HOME environment variable.",additionalMessage);
209
177
}
210
-
}else{
211
-
hasProblemWithJavaVersion=true;
212
-
this.printMessage("Error executing command 'javac'. Make sure you have installed The Java Development Kit (JDK) and set JAVA_HOME environment variable.",helpfulMessage);
0 commit comments