D
D
Dima2312018-04-25 17:30:56
Java
Dima231, 2018-04-25 17:30:56

Java. How to fix file version conflict?

Hello! Added a project (IDEA) JFoenix version 9.0.3 (latest) to JavaFX. SDK 9.0.4 is installed in the project settings. At the same time, IDEA gives an error: JFXButton has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
From the text, I understood that the JFXButton class was compiled later version than mine. But I already have Java 9. I made the form in JavaFX Scene Builder 9.0.1 Tell me
how to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexandreProkhorenko1985, 2018-10-20
@AlexandreProkhorenko1985

It happened to me too, due to the fact that I installed two runtimes:
1. from the Java.com site
2. from the Oracle.com site Programs
are compiled using the runtime from the Oracle.com site version 55.0.
The runtime from Java.com is used by the system when the program starts, but it is not updated beyond version 52.0.
You just need to combine two environments (for User and for System) in the Java Control Panel / java / view settings at the level 52.0 (1.8.0) or remove the installed one from the Java.com site. program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question