JDK-8088563 : OpenJFX java build check fail using manual jdk8 OpenJDK builds
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-08-12
  • Updated: 2015-10-29
  • Resolved: 2015-10-29
Related Reports
Duplicate :  
Description
issue:
java.runtime.version: 1.8.0-internal-familjen_2013_08_12_23_39-b00
java version: 1.8.0
java build number: 00
minimum java build number: 102
...
* Where:
Build file '/home/familjen/openjfx/rt/build.gradle' line: 219

* What went wrong:
Execution failed for task ':verifyJava'.
> FAIL: java build number (0) < minimum build number (102)


cause:
When you build OpenJDK manually the build number gets set to b00:

/media/go/jdk8/build/linux-x86-normal-server-release/images/j2sdk-image/bin/java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-familjen_2013_08_12_23_39-b00)
OpenJDK Server VM (build 25.0-b44, mixed mode)


test:
build OpenJDK 8 manually and then use the build to build OpenJFX
hg clone http://hg.openjdk.java.net/jdk8/jdk8
cd jdk8/
sh ./get_source.sh 
sh configure --enable-openjdk-only \
              --disable-zip-debug-info --disable-debug-symbols \
              --with-debug-level=release
make profiles images docs

cd openjfx/rt
JAVA_HOME=/media/go/jdk8/build/linux-x86-normal-server-release/images/j2sdk-image/ ../gradle-1.4/bin/gradle -PBUILD_NATIVES=true -PCOMPILE_PANGO=true

Comments
Since we need to rework the version checking for JEP 223 we can fix this at the same time. As such I am closing this as a duplicate of JDK-8133750
29-10-2015

Maybe add a flag to disable the check to avoid this in future.
11-04-2014

We should consider disabling the error (maybe make it a warning) when building with OpenJDK.
14-08-2013