fontawesomefx-glyphsbrowser icon indicating copy to clipboard operation
fontawesomefx-glyphsbrowser copied to clipboard

not working in java 9

Open kinsleykajiva opened this issue 8 years ago • 15 comments

The browser is not opening after I install the newly released version of Java 9.

kinsleykajiva avatar Sep 23 '17 14:09 kinsleykajiva

@kinsleykajiva Needs to be updated for Java 9 . Have you checked the errors you get ? Try to download the .zip folder and run it with command prompt . Open Command Prompt and take the .bat file drop it inside the command Prompt and it will show you the errors .

It will be some reflection errors for sure . Not tested it yet though :)

goxr3plus avatar Nov 03 '17 15:11 goxr3plus

@kinsleykajiva Here is the Branch for Java 9 Support -> https://github.com/Jerady/fontawesomefx-glyphsbrowser/tree/fontawesomefx-glyphsbrowser-9.0.0

goxr3plus avatar Nov 03 '17 15:11 goxr3plus

@kinsleykajiva I have just added SearchBar feature give it a try :)

SearchBar + fontawesomefx-glyphsbrowser-1.3.0.zip

goxr3plus avatar Nov 03 '17 17:11 goxr3plus

ok , i will try it out , thanks .

kinsleykajiva avatar Dec 12 '17 06:12 kinsleykajiva

I have just tried running it but i am getting this error 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(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:945) Caused by: java.lang.RuntimeException: Exception in Application start method at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198) at java.base/java.lang.Thread.run(Thread.java:844) 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) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:511) 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(LauncherImpl.java:919) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:189) ... 1 more Caused by: java.lang.ClassNotFoundException: com.sun.javafx.css.parser.CSSParser at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 21 more Exception running application de.jensd.fx.glyphs.browser.GlyphsBrowserApp

kinsleykajiva avatar Dec 12 '17 06:12 kinsleykajiva

The same goes for me.

jjjimenez100 avatar Dec 22 '17 22:12 jjjimenez100

I am having the same error the browser does not run on java 9

piusalfred avatar Jan 19 '18 10:01 piusalfred

The same issue for me

tymur-berezhnoi avatar Mar 11 '18 20:03 tymur-berezhnoi

Not Working for Java 10.

I got the following results after dragging "fontawesomefx-glyphsbrowser" file into cmd.

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(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:941) Caused by: java.lang.RuntimeException: Exception in Application start method at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198) at java.base/java.lang.Thread.run(Thread.java:844) 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) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) 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(LauncherImpl.java:919) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:175) ... 1 more Caused by: java.lang.ClassNotFoundException: com.sun.javafx.css.parser.CSSParser at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) ... 21 more Exception running application de.jensd.fx.glyphs.browser.GlyphsBrowserApp

ShubhamSharma-120894 avatar Sep 09 '18 17:09 ShubhamSharma-120894

Dear all , it doesn't work because it needs modifications , the libraries are from Java 8 and also the code need to be rewritten a little bit .

When i have time i will publish an updated version . Check also Iconli Font Icons Tutorial -> https://www.youtube.com/watch?v=o5UewXgUiYY

goxr3plus avatar Sep 10 '18 13:09 goxr3plus

Not Working for Java 11. Exception in Application start method java.lang.reflect.InvocationTargetException

XaviMontero avatar Mar 14 '19 05:03 XaviMontero

not working for JDK 14 with OpenJFX 14

raoufOnGithub avatar May 01 '20 15:05 raoufOnGithub

now working for Java 16... we crying...

justAnArthur avatar Aug 17 '21 10:08 justAnArthur

not working for Java 17 u.u

LuchoNoPrograma avatar Oct 30 '22 00:10 LuchoNoPrograma

Not working for jdk21 , help please !

ysfsaib avatar Dec 01 '23 09:12 ysfsaib