Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Griffon build on JDK 12 is broken #306

Open
myhhub opened this issue Aug 1, 2019 · 7 comments
Open

Griffon build on JDK 12 is broken #306

myhhub opened this issue Aug 1, 2019 · 7 comments

Comments

@myhhub
Copy link

myhhub commented Aug 1, 2019

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'console'.

Couldn't find Ant-JavaFX-library, please make sure you've installed some JDK which includes JavaFX (e.g. OracleJDK or OpenJDK and OpenJFX), and JAVA_HOME is set properly.

@myhhub
Copy link
Author

myhhub commented Aug 1, 2019

@aalmiray
Copy link
Member

aalmiray commented Aug 1, 2019

http://andresalmiray.com/running-griffon-applications-with-javafx-11/

@myhhub
Copy link
Author

myhhub commented Aug 7, 2019

http://andresalmiray.com/running-griffon-applications-with-javafx-11/

[griffon-pool-1-thread-1] INFO griffon.javafx.JavaFXGriffonApplication - Initializing all startup groups: [console]

Thanks you!

@aalmiray
Copy link
Member

aalmiray commented Aug 7, 2019

Could you post more information regarding your environment and a full stacktrace?

@myhhub
Copy link
Author

myhhub commented Aug 12, 2019

gradle

Task :run
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - Griffon 2.15.1
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - Build: 2018-11-06T14:02:08.126+0100
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - Revision: d5445b6
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - JVM: 12.0.2 (Oracle Corporation 12.0.2+10)
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - OS: Windows 10 10.0 amd64
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/mmm/.gradle/caches/modules-2/files-2.1/com.google.inject/guice/4.2.0/25e1f4c1d528a1cffabcca0d432f634f3132f6c8/guice-4.2.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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
[griffon-pool-1-thread-1] INFO griffon.javafx.JavaFXGriffonApplication - Initializing all startup groups: [console]

@myhhub myhhub closed this as completed Aug 12, 2019
@myhhub
Copy link
Author

myhhub commented Aug 12, 2019

Maven
[INFO] --- exec-maven-plugin:1.6.0:java (run-app) @ console ---
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - Griffon 2.15.1
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - Build: 2018-11-06T14:02:08.126+0100
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - Revision: d5445b6
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - JVM: 12.0.2 (Oracle Corporation 12.0.2+10)
[JavaFX-Launcher] INFO org.codehaus.griffon.runtime.core.AbstractApplicationBootstrapper - OS: Windows 10 10.0 amd64
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/mmm/.m2/repository/com/google/inject/guice/4.2.0/guice-4.2.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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
[griffon-pool-1-thread-1] INFO griffon.javafx.JavaFXGriffonApplication - Initializing all startup groups: [console]

@myhhub myhhub reopened this Aug 12, 2019
@aalmiray
Copy link
Member

Is the application running now? The warning on the console is due to reflective access, which we can't fix due to Guice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants