Antonio,
2018-01-05 20:54 GMT-03:00 Antonio <[email protected]>: > Hi, > > I have been successfully compiling with OpenJDK 8 for several months now > (I don't have Oracle JDK8 installed in my preferred box, nor JavaFX). > > I would like to know how you build it without JavaFx? It seems openjfx is a dependency: projectized.build-init: -check-openjfx: -build-openjfx: [unzip] Expanding: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/libs.javafx/external/openjfx-master-rt-8.zip into /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/libs.javafx/build/openjfx-src [mkdir] Created dir: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/libs.javafx/build/openjfx-classes [javac] Compiling 2184 source files to /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/libs.javafx/build/openjfx-classes [repeat] /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/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/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/nbbuild/build.xml:480: The following error occurred while executing this line: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/nbbuild/build.xml:475: The following error occurred while executing this line: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/nbbuild/build.xml:510: The following error occurred while executing this line: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/nbbuild/build.xml:493: The following error occurred while executing this line: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/nbbuild/build.xml:475: The following error occurred while executing this line: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/nbbuild/build.xml:522: The following error occurred while executing this line: /home/gilbertoca/tmp/git_working_copy/incubator-netbeans-openjdk-issues/libs.javafx/build.xml:35: Compile failed; see the compiler error output for details. Total time: 1 minute 8 seconds [13:08] gilbertoca@linux-s6k1:incubator-netbeans-openjdk-issues (master u=) $ Make sure that: > > a) JAVA_HOME is either _NOT_ set or set to a proper OpenJDK8 place. > (run "unset JAVA_HOME" if unsure, "echo $JAVA_HOME" to check) > [13:04] gilbertoca@linux-s6k1:incubator-netbeans-openjdk-issues (master u=) $ unset JAVA_BINDIR JAVA_DOC JAVA_ROOT JDK_HOME JRE_HOME SDK_HOME [13:05] gilbertoca@linux-s6k1:incubator-netbeans-openjdk-issues (master u=) $ echo $JAVA_BINDIR $JAVA_DOC $JAVA_ROOT $JDK_HOME $JRE_HOME $SDK_HOME [13:05] gilbertoca@linux-s6k1:incubator-netbeans-openjdk-issues (master u=) $ env|grep HOME CATALINA_HOME=/home/gilbertoca/bin/tomcat GRADLE_HOME=/home/gilbertoca/bin/gradle ANT_HOME=/home/gilbertoca/bin/ant MAVEN_HOME=/home/gilbertoca/bin/maven JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk JBAKE_HOME=/home/gilbertoca/bin/jbake HOME=/home/gilbertoca M2_HOME=/home/gilbertoca/bin/maven PROFILEHOME= PGSQL_HOME=/usr/lib/postgresql
