Hello,I am using GitHub's netbeans-12.2.2.tar.gz file to recreate NetBeans version 12.2.2 in the following environment: Linux Fedora 33 and OpenJDK 11.0.10
To compile and create the zip file that will serve as the basis for creating the installers, I use the following commands:
export JAVA_HOME = / usr / lib / jvm / java-openjdk / export ANT_HOME = / usr / share / ant / ant build -Dcluster.config = full -Dpermit.jdk9.builds = trueThe zip file is created normally, but when using the shell script ‘installer.sh’, I get the following messages:
=============== BUILD FAILED/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/build.xml:656: The following error occurred while executing this line:
/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/build.xml:691: The following error occurred while executing this line:
/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/build.xml:673: The following error occurred while executing this line:
/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/build.xml:990: The following error occurred while executing this line:
/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/build.xml:919: The following error occurred while executing this line:
/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/build.xml:846: The following error occurred while executing this line:
/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/nbi_all/nbi/infra/build/.common/common.xml:584: The following error occurred while executing this line:
/home/user/Downloads/NetBeans/netbeans-12.2.2/nbbuild/installer/infra/build/nbi_all/nbi/infra/build/.common/common.xml:698: exec returned: 1
Total time: 50 seconds + ERROR_CODE=1 + '[' 1 '!=' 0 ']' + echo 'ERROR: 1 - NBI installers build failed' ERROR: 1 - NBI installers build failed + exit 1 + ERROR_CODE=1 + '[' 1 '!=' 0 ']' + echo 'ERROR: 1 - NBI installers build failed' ERROR: 1 - NBI installers build failed + exit 1 ===============What should I fix in the ‘installer.sh’ file so that the installers can be created correctly with OpenJDK?
Regards Paulo Alfredo
installer.sh
Description: application/shellscript
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists