Код: Выделить всё
✖ Error executing command 'javac'. Make sure you have installed The Java Development Kit (JDK) and set JAVA_HOME environment variable.
You will not be able to build your projects for Android.
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
described in https://docs.nativescript.org/setup
✖ WARNING: The Java Development Kit (JDK) is not installed or is not configured properly.
You will not be able to work with the Android SDK and you might not be able
to perform some Android-related operations. To ensure that you can develop and
test your apps for Android, verify that you have installed the JDK as
described in http://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html (for JDK 8).
Код: Выделить всё
$ printenv | grep JAVA_HOME
JAVA_HOME=/usr/lib/jvm/default-java
Код: Выделить всё
$ javac --version
javac 25-ea
$ java --version
openjdk 25-ea 2025-09-16
OpenJDK Runtime Environment (build 25-ea+16-Ubuntu-1)
OpenJDK 64-Bit Server VM (build 25-ea+16-Ubuntu-1, mixed mode, sharing)
< /code>
Я использую Ubuntu 25.04 и NativeScript 8.9.3 < /p>
Что я делаю не так? Должен ли я указать Java_home Подробнее здесь: https://stackoverflow.com/questions/797 ... -correctly
Мобильная версия