Сборка Netbeans на Linux не удаласьLinux

Anonymous
Сборка Netbeans на Linux не удалась

Сообщение Anonymous »

Версия Java: 17.0.6

Версия ant: 1.10.12

Ubuntu 22.04.4 LTS

Сборка Netbeans завершается с ошибкой это сообщение:

Код: Выделить всё

-do-compile:
[nb-javac] Compiling 10 source files to /media/meca1/GITHUB-NETBEANS/netbeans/platform/api.dashboard/build/classes
[nb-javac] Ignoring source, target and bootclasspath as release has been set
[repeat] error: release version 17 not supported
[repeat] Usage: javac  
[repeat] use --help for a list of possible options
[nbmerge] Failed to build target: all-api.dashboard

BUILD FAILED
/media/meca1/GITHUB-NETBEANS/netbeans/nbbuild/build.xml:635: The following error occurred while executing this line:
/media/meca1/GITHUB-NETBEANS/netbeans/nbbuild/build.xml:630: The following error occurred while executing this line:
/media/meca1/GITHUB-NETBEANS/netbeans/nbbuild/build.xml:665: The following error occurred while executing this line:
/media/meca1/GITHUB-NETBEANS/netbeans/nbbuild/build.xml:648: The following error occurred while executing this line:
/media/meca1/GITHUB-NETBEANS/netbeans/nbbuild/build.xml:630: The following error occurred while executing this line:
/media/meca1/GITHUB-NETBEANS/netbeans/nbbuild/build.xml:677: The following error occurred while executing this line:
/media/meca1/GITHUB-NETBEANS/netbeans/nbbuild/templates/common.xml:208: Compile failed; see the compiler error output for details
Первая попытка заключалась в использовании java jdk 17.
Пытался сменить версию Java на более старую.
Даже если в документации Netbeans указано, что 17 — это нормально.

Код: Выделить всё

export JAVA_HOME=/opt/jdk-11
Проблема та же.

Подробнее здесь: https://stackoverflow.com/questions/783 ... inux-fails

Вернуться в «Linux»