Hi,

Am Mittwoch, den 02.10.2019, 23:06 +0300 schrieb mlist:
> 
> I am trying to build NetBeans 11.1 from source code on openSUSE Leap
> 15. I have read the instructions and the README.md but unfortunately
> I
> am getting errors which I don't know how to fix as I am not a Java
> developer (my intention is to use NetBeans IDE for PHP, CSS,
> JavaScript).
> 
> Here is the output I am getting:
> 
> https://susepaste.org/673abb68
> 
> What should I do to make this work please?
> 

you are building with JDK11 against an JDK8 by setting nbjdk.home. I
fixed this for me by switching to JDK8 as the build JDK.

My .nbbuild.properties has this entry:

nbjdk.home=/home/matthias/bin/jdk1.8.0_201/

To build with that setting, prior to runnign the ant build, I set the
JAVA_HOME to the same directory:

export JAVA_HOME=/home/matthias/bin/jdk1.8.0_201/

and then run ant.

That way I get a netbeans build with JDK8, as is our current build
configuration.

Greetings

Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to