Gilberto: Last week I got my courage up to try to build NB9. I first downloaded the zip file from github. It would not build -- failed miserably.
Then I tried the instructions for cloning/building with NB8.2 and it worked flawlessly. I've been using it since working on a JavaFX project with jdk 9 and it's working flawlessly so far. I suggest you follow the NB8.2 build instructions and get on the road to success with NB9. I also use a brand of Linux as my development environment so I can assure you it works fine on Linux. On Tue, Jan 2, 2018 at 11:24 AM, Gilberto <[email protected]> wrote: > Hello everyone, happy new year!! > > I would like to resuscitate this post/discussion. Setting a new machine and > this problem came up again. It only occurs while using the openjdk 1.8 > version. > I know the build activate the BUILD-OPENJFX because openjdk doesn't bring > the javafx with it, but I don't understand why it download a very old > version of it (rt-f89b7dc932af)[1] > And as you can see it can't build by the newer java 8 versions. > > Regards, > > Gilberto > > [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af > > 2017-11-14 13:39 GMT-03:00 Gilberto <[email protected]>: > > > Hi, > > > > I've just forked the netbeans repository on github and tried to build it > > but without success: > > > > -define-custom-javac-task: > >> > >> projectized.build-init: > >> > >> -check-openjfx: > >> > >> -build-openjfx: > >> [unzip] Expanding: /home/gilberto.andrade/tmp/ > >> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into > >> /home/gilberto.andrade/tmp/incubator-netbeans/libs. > >> javafx/build/openjfx-src > >> [javac] Compiling 2184 source files to /home/gilberto.andrade/tmp/ > >> incubator-netbeans/libs.javafx/build/openjfx-classes > >> [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs. > >> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/ > >> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot find > >> symbol > >> [repeat] newScaleFactor = ((SunGraphics2D)g). > >> surfaceData.getDefaultScale(); > >> [repeat] > >> ^ > >> [repeat] symbol: method getDefaultScale() > >> [repeat] location: variable surfaceData of type SurfaceData > >> [repeat] Note: Some input files use or override a deprecated API. > >> [repeat] Note: Recompile with -Xlint:deprecation for details. > >> [repeat] Note: Some input files use unchecked or unsafe operations. > >> [repeat] Note: Recompile with -Xlint:unchecked for details. > >> [repeat] 1 error > >> [nbmerge] Failed to build target: all-libs.javafx > >> > >> BUILD FAILED > >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436: > The > >> following error occurred while executing this line: > >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: > The > >> following error occurred while executing this line: > >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466: > The > >> following error occurred while executing this line: > >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449: > The > >> following error occurred while executing this line: > >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: > The > >> following error occurred while executing this line: > >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478: > The > >> following error occurred while executing this line: > >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35: > >> Compile failed; see the compiler error output for details. > >> > >> Total time: 59 seconds > >> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $ > >> javac -version > >> javac 1.8.0_151 > >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $ > cat > >> /etc/os-release > >> NAME="openSUSE Leap" > >> VERSION="42.3" > >> ID=opensuse > >> ID_LIKE="suse" > >> VERSION_ID="42.3" > >> PRETTY_NAME="openSUSE Leap 42.3" > >> ANSI_COLOR="0;32" > >> CPE_NAME="cpe:/o:opensuse:leap:42.3" > >> BUG_REPORT_URL="https://bugs.opensuse.org" > >> HOME_URL="https://www.opensuse.org/" > >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) > >> > > > > I've tried ant and ant -Dcluster.config=platform . > > > > Regards, > > > > Gilberto > > >
