1 Reply Latest reply: Feb 12, 2013 12:12 PM by jsmith RSS

    Building javafx 8?

    countfloyd
      I've been following the instructions for building javafx 8 and ran into a compiler error after typing 'ant'. Looks like sg-common depends on geom but isn't getting the right classpath:

      [javac] Compiling 27 source files to /Users/curtis/open-jfx/master/rt/javafx-sg-common/build/classes
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:29: error: cannot find symbol
      [javac] import com.sun.javafx.geom.DirtyRegionContainer;
      [javac] ^
      [javac] symbol: class DirtyRegionContainer
      [javac] location: package com.sun.javafx.geom
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:30: error: cannot find symbol
      [javac] import com.sun.javafx.geom.DirtyRegionPool;
      [javac] ^
      [javac] symbol: class DirtyRegionPool
      [javac] location: package com.sun.javafx.geom
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:29: error: cannot find symbol
      [javac] import com.sun.javafx.geom.DirtyRegionContainer;
      [javac] ^
      [javac] symbol: class DirtyRegionContainer
      [javac] location: package com.sun.javafx.geom
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:30: error: cannot find symbol
      [javac] import com.sun.javafx.geom.DirtyRegionPool;
      [javac] ^
      [javac] symbol: class DirtyRegionPool
      [javac] location: package com.sun.javafx.geom
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:1289: error: cannot find symbol
      [javac] drc.setDirtyRegion(i, (RectBounds) tx.transform(drc.getDirtyRegion(i), drc.getDirtyRegion(i)));
      [javac] ^
      [javac] symbol: method setDirtyRegion(int,RectBounds)
      [javac] location: variable drc of type DirtyRegionContainer
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:1290: error: cannot find symbol
      [javac] if (drc.checkAndClearRegion(i)) {
      [javac] ^
      [javac] symbol: method checkAndClearRegion(int)
      [javac] location: variable drc of type DirtyRegionContainer
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:1299: error: cannot find symbol
      [javac] if (drc.checkAndClearRegion(i)) {
      [javac] ^
      [javac] symbol: method checkAndClearRegion(int)
      [javac] location: variable drc of type DirtyRegionContainer
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:1310: error: cannot find symbol
      [javac] final DirtyRegionContainer effectDrc = effect.getDirtyRegions(helper, regionPool);
      [javac] ^
      [javac] symbol: method getDirtyRegions(EffectDirtyBoundsHelper,DirtyRegionPool)
      [javac] location: variable effect of type Effect
      [javac] /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/BaseNode.java:1359: error: method does not override or implement a method from a supertype
      [javac] @Override
      [javac] ^
      [javac] Note: /Users/curtis/open-jfx/master/rt/javafx-sg-common/src/com/sun/javafx/sg/GrowableDataBuffer.java uses unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 7 errors
        • 1. Re: Building javafx 8?
          jsmith
          Probably best to post JavaFX build issues to the openjfx-dev mailing list => http://mail.openjdk.java.net/mailman/listinfo/openjfx-dev

          There was recently a lot of code open sourced, so it may take a little while for the open source build process to stabilize.