John, Thanks for this info!
Your process is the same I use but it seems the key which helped was: > export ANT_HOME=$HOME/opt/apache-ant-1.10.7 This made the proper version of my ant (built from source) to show up and the build of NetBeans was successful with jdk8! Questions: 1. I notice that my old version of NetBeans has the structure which I see in 'nbbuild/netbeans'. Does this mean I need only this subdirectory (and not the whole 'nbbuild' dir)? 2. I did't quite understand this: On Wed, 02 Oct 2019 22:50:55 +0200 Matthias Bläsing wrote: > While netbeans can be build with JDK 9, that is not the production > configuration, so you could introduce dependencies on newer > implementations without realising it, before the problem is caught by > the CI pipeline. (a) What is "CI pipeline"? (b) What are these dependencies and what would be the negative result in introducing them? 3. Assuming the answer to 1. is 'yes' I ran the netbeans binary and it gave me some warnings: $/opt/netbeans/bin/netbeans WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.swing.plaf.gtk.ThemeValue (jar:file:/opt/netbeans/platform/modules/org-netbeans-swing-plaf.jar!/) to method javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType) WARNING: Please consider reporting this to the maintainers of org.netbeans.swing.plaf.gtk.ThemeValue WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Why is that and need I do something about it? 4. In NB's options I see that Ant Home is set to '/opt/netbeans/extide/ant' (which is 1.10.4). Should I set it to /opt/ant (which is my build of 1.10.7 and the one used for building NB itself)? --------------------------------------------------------------------- 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
