On Wed, 02 Oct 2019 22:12:42 +0200 Matthias Bläsing wrote:
> 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:
Is that the same as src/nbbuild/user.build.properties or (if not) where
do you put this file?
> 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.
Have you looked at my output? I am also setting:
JAVA_HOME=${JAVA_HOME}:/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/bin
Isn't that enough?
Do you have 'bin' subdir in your 'jdk1.8.0_201' dir? Or is your javac
directly in 'jdk1.8.0_201'?
> That way I get a netbeans build with JDK8, as is our current build
> configuration.
BTW I found some answer here on the list (from 09.Aug.2019) which says
that using -Dpermit.jdk9.builds=true works and I tried it - it works
indeed (build succeeds). Is that wrong and why?
Sorry for the many questions. I hope you can answer :)
---------------------------------------------------------------------
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