JDK-8092279 : Implement flag to avoid building native parts and update the build instructions in the wiki
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-05-27
  • Updated: 2024-11-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Blocks :  
Description
According to the OpenJDK wiki natives don't build by default and require: -PBUILD_NATIVES=true
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-BuildandTest

However on the openjdk-dev mailing list I was told this was not the case.

"Native compilation for everything except media and wekbit, is on by default, and there is currently no easy way to disable it." - Kevin R.
Comments
Unfortunately we are out of time for 8u40.
13-11-2014

It may be too early yet, but I would love to see use of Gradle's C/CPP support for building the native side. I think that could vastly simplify building.
23-10-2014

I'm still going to try to do this for 8u40...just didn't want to commit to it. It really won't be that hard.
23-10-2014

Too bad this will not make it for 8u40. This flag would be incredible when helping people run OpenJFX. Installing the right versions of tools and compilers for native code is quite a barrier to entry (especially on Windows).
23-10-2014

I changed the tite of this JIRA. It can track implementing the flag.
27-05-2014