sshahine / JFoenix

JavaFX Material Design Library
MIT License
6.29k stars 1.06k forks source link

Can't not run JFoenix8 in jdk8 #1066

Closed YTGhost closed 4 years ago

YTGhost commented 4 years ago

I try almost all the version of JFoenix8(include 8.0.2~8.0.9) in jdk1.8.0_231,but it seem can not run in my computer. It will get wrong when i use JFX: Caused by: java.lang.UnsupportedClassVersionError: com/jfoenix/controls/JFXTextArea 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 image this is my java version

YTGhost commented 4 years ago

oh, I found the solution to this problem, I use JDK12 at the beginning, and I import the JavaFX12.0.2 at the same time. But now in order to use JFoenix, I install jdk1.8.0_231 but not to unimport the JavaFX12.0.2 and import the JFoenix in my projectstruct. You can close the problem, thank a lot.