IllegalAccessError with Java 9, and used Snapshot 8.4
Caused by: java.lang.IllegalAccessError: tried to access method com.sun.javafx.css.parser.CSSParser.<init>()V from class de.jensd.fx.glyphs.GlyphIcon
at de.jensd.fx.glyphs.GlyphIcon.<clinit>(GlyphIcon.java:49)
As said in the title I used snapshot 8.4 like I saw in an earlier issue. My problem was not resolved. I am trying to use the icons from SceneBuilder with fxml file.
Comments (18)
-
repo owner -
repo owner - changed status to resolved
-
reporter yeah but there is no jar file?
-
reporter I don't know how to use maven or dependencies or whatever those are alongside gluon's scene builder.
I don't understand the architecture of that stuff. @ the link you just sent me
-
repo owner You are not using a build tool?
You can find the jars here: https://bintray.com/jerady/maven/FontAwesomeFX/9.0.0#files/de/jensd
-
reporter there is no download link for jars... just maven build settings
-
reporter ok found a fontawesomefx-commons-9.0.0.jar
but when importing to scene builder, it has no icons... also packages from 8.9 cannot be resolved
-
repo owner Since 8.10 (2 years ago) FAfx ist split into multiple jars. So additionally to the mandatory "commons" you have to add the Icon-Font pack you want to use, e.g. for FontAwesome icons add 'fontawesomefx-fontawesome-4.7.0-9.jar '.
-
reporter yes but even when downloading those they each have no components when importing into scenebuilder
-
reporter So when I try to search up an item in the library, it then reports nothing is found
-
Sorry, but i wouldn't call that resolved, this liibrary isn't too useful in its current state, the 8.X versions won't run with Java 9 since you were using internal apis and the 9.X Version doesn't work with java 8 obviously .... Correect me if i am wrong, but i tried both directions
-
repo owner 8.x -> Java 8
9.x -> Java 9
Is the naming schema too misleading?
-
reporter That would be a good comeback only if version 9 worked with java 9 and version 8 worked with java 8 before I installed java 9.
-
You didn't quite get the problem @Jerady . It isn't compatible in any direction, which makes it practically unusable, unless you always ship a jvm and only allow to use that one
-
Also, i don't know if its possible to do it better, but if not, tell us instead of giving us a childish answer lik
is the naming schema too misleading?
You seem old enough. -
repo owner Ok, guys, you got me! "megladonkeyduck" ;-) So please stop kidding me.
-
repo owner - changed status to wontfix
-
Are you implying that i am "megladonkeyduck" ?
- Log in to comment
Have a look at http://www.jensd.de/wordpress/?p=2686 I just released FontAwesomeFX 9.0.0!