i keep multiple version of nb installed; so i build nb git soure with nb82/jdk8 without issue;
you could build with nb10 if you started it with jdk8 i would bet. -Gary On Sat, Dec 29, 2018 at 10:28 AM Peter Nabbefeld <[email protected]> wrote: > The README describes how to build NB from the console - I don't want > that. If I cannot use an IDE for building, I could just use a text > editor. BTW, memory is not a problem on my system - 4GB should be > sufficient for NB, otherwise I could increase -Xmx. > > P. > > > Am 29.12.18 um 18:44 schrieb Geertjan Wielenga: > > There is nothing in the README about nbjdk.home. Please follow the > > instructions in the README: > > > > https://github.com/apache/incubator-netbeans/blob/master/README.md > > > > Gj > > > > > > On Sat, Dec 29, 2018 at 6:41 PM Peter Nabbefeld <[email protected]> > > wrote: > > > >> Conditions are all met, simply the build file for applemenu module does > >> not respect the settings for nbjdk.home. My best bet will be just to > >> remove the module from cluster.properties file. However, the build file > >> should be fixed, probably ... > >> > >> P. > >> > >> > >> Am 29.12.18 um 15:14 schrieb Geertjan Wielenga: > >>> https://github.com/apache/incubator-netbeans/blob/master/README.md > >>> > >>> Gj > >>> > >>> On Sat, Dec 29, 2018 at 1:29 PM Peter Nabbefeld < > [email protected]> > >>> wrote: > >>> > >>>> Hello, > >>>> > >>>> cannot build NetBeans from source: > >>>> - using git sources/master branch from > >>>> https://github.com/apache/incubator-netbeans.git > >>>> - using NB10 with java-11-openjdk on Arch Linux > >>>> - ~/incubator-netbeans/nbbuild/user.build.properties contains > >>>> nbjdk.home=/usr/lib64/jvm/java-8-openjdk > >>>> > >>>> > >>>> The problem cause is probably direct use of <javac ...> in the > applemenu > >>>> module's build script, as I get the following error messages: > >>>> > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:22: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.AboutEvent; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:23: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.AboutHandler; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:24: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.OpenFilesEvent; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:25: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.OpenFilesHandler; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:26: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.PreferencesEvent; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:27: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.PreferencesHandler; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:28: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.QuitEvent; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:29: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.QuitHandler; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:30: > >>>> error: package java.awt.desktop does not exist > >>>> import java.awt.desktop.QuitResponse; > >>>> > >> > /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:40: > >>>> error: cannot find symbol > >>>> public class NbApplicationAdapterJDK9 extends NbApplicationAdapter > >>>> implements AboutHandler, OpenFilesHandler, PreferencesHandler, > >> QuitHandler > >>>> { > >>>> symbol: class AboutHandler > >>>> > >>>> It seems, the desktop classes are missing because the module does not > >>>> respect nbjdk.home setting, so JDK 11 is used instead. > >>>> > >>>> Kind regards > >>>> > >>>> Peter > >>>> > >>>> > >>>> --------------------------------------------------------------------- > >>>> 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 > >>>> > >>>> > >>>> > >>>> > >> > >> --------------------------------------------------------------------- > >> 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 > >> > >> > >> > >> > > > --------------------------------------------------------------------- > 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 > > > >
