You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Paulo Alfredo Ribas Toledo <pa...@yahoo.com.br.INVALID> on 2021/02/21 23:01:37 UTC

Creating NetBeans installers - OpenJDK

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 = true

The 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