Error on build
javafx at use.startmail.com
javafx at use.startmail.com
Thu Sep 28 22:59:36 UTC 2017
Hi All,
New member to this group. I am encountering a little trouble when I
try to build OpenJFX. I am following the instructions here: (using
Cygwin on Win 7):
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
When I run gradle after cloning the OpenJFX repository, I get a "build
failed with exception" . I include the output from the entire run just
in case it's significant:
$ gradle
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.gradle.internal.reflect.JavaMethod
(file:/C:/gradle/lib/gradle-base-services-3.1.jar) to method
java.lang.ClassLoader.getPackages()
WARNING: Please consider reporting this to the maintainers of
org.gradle.internal.reflect.JavaMethod
WARNING: Use --illegal-access=warn to enable warnings of further
illegal reflective access operations
WARNING: All illegal access operations will be denied in a future
release
:buildSrc:generateGrammarSource UP-TO-DATE
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
FAILURE: Build failed with an exception.
* Where:
Script 'C:\cygwin64\home\mdbg\rt\buildSrc\win.gradle' line: 91
* What went wrong:
A problem occurred evaluating script.
> FAIL: WINSDK_DIR not defined
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
BUILD FAILED
Total time: 1.376 secs
I should add that even though the tutorial doesn't mention to do it, I
cd-ed into the folder named rt, which was created by Mercurial when I
cloned OpenJFX, I called gradle from there. Calling it from the
directory containing rt resulted in nothing happening , which makes
sense afaik.
the variable WINSDK is not one I am familiar with- it's not any
environment or system variable on my machine and the tutorial doesn't
say anything about it. I hesitate to start arbitrarily hacking build
files based on error messages. It seems as though it ought to just work
and perhaps this is a bug I should report or is it something else ?
Thank you!
More information about the openjfx-dev
mailing list