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

IntelliJ + Java11 fails to build, javafx.animation.PauseTransition error #456

Closed
klabarge opened this issue Jun 7, 2019 · 0 comments
Closed

Comments

@klabarge
Copy link
Member

klabarge commented Jun 7, 2019

Creating bug report for documentation purposes.

Issue

Java: AdoptOpenJDK (build 11.0.3+7)
IntelliJ: Community 2018.1
OS: macOS Mojave (10.14.6)

When trying to use AdoptOpenJDK 11/Java 11 to build the project, building may fail with the below error:

Error:(3, 24) java: cannot access javafx.animation.PauseTransition
  bad class file: /Users/kyle/tray/lib/javafx-sdk-11.0.2/lib/javafx.graphics.jar(javafx/animation/PauseTransition.class)
    class file has wrong version 54.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

image

Resolution

If ant builds successfully from the terminal, IntelliJ's internal ant may be causing issues.

@klabarge klabarge closed this as completed Jun 7, 2019
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

1 participant