Jerady / fontawesomefx-glyphsbrowser

FontAwesomeFX Glyphsbrowser
https://bintray.com/jerady/maven/FontAwesomeFX/8.15/view
170 stars 53 forks source link

not compatible with JDK 10 #11

Open Mazen-Embaby opened 6 years ago

Mazen-Embaby commented 6 years ago

Compatibility issue: It works fine in JDK 1.8 but when run in JDK 10 this error shown

Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/css/parser/CSSParser at de.jensd.fx.glyphs.GlyphIcon.(GlyphIcon.java:48) at de.jensd.fx.glyphs.browser.GlyphsBrowserAppModel.lambda$init$0(GlyphsBrowserAppModel.java:92)

veyselsari23 commented 6 years ago

Yes , when install jdk 10 then .jar file not turn on , please help for this issue. Thanks

davesrambla0123 commented 6 years ago

I used JDK 10 and when i run the jar file of fontawesomefx-glyphsbrowser. I can't see anything!

rruipinheiro commented 6 years ago

Same issue... Please help, thanks

davesrambla0123 commented 6 years ago

Exception in Application start method java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at java.base/sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.RuntimeException: Exception in Application start method at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/css/parser/CSSParser at de.jensd.fx.glyphs.GlyphIcon.(GlyphIcon.java:48) at de.jensd.fx.glyphs.browser.GlyphsBrowserAppModel.lambda$0(GlyphsBrowserAppModel.java:92) at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source) at de.jensd.fx.glyphs.browser.GlyphsBrowserAppModel.init(GlyphsBrowserAppModel.java:93) at de.jensd.fx.glyphs.browser.GlyphsBrowserAppModel.(GlyphsBrowserAppModel.java:85) at de.jensd.fx.glyphs.browser.GlyphsBrowserApp.start(GlyphsBrowserApp.java:41) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(Unknown Source) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source) ... 1 more Caused by: java.lang.ClassNotFoundException: com.sun.javafx.css.parser.CSSParser at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 21 more Exception running application de.jensd.fx.glyphs.browser.GlyphsBrowserApp

davesrambla0123 commented 6 years ago

Can someone gives me solution for this?

rruipinheiro commented 6 years ago

@davesrambla0123 Which version of java jdk do you use ?

veyselsari23 commented 6 years ago

Java jdk 10

goxr3plus commented 6 years ago

It has to do with the dependencies of the library. It is using 'controlsfx 8' which is not compatible with Java 10. Once upon a time i pull requested the search bar feature. It seems that i have to fix this too when i have time :)

devs-byte commented 5 years ago

haven't they released yet : (

goxr3plus commented 5 years ago

@J-Java You want it badly :)? You can use IKONLI FONT icons, far better in my humble opinion and more supported :)