I am trying to use JavaFX 2 from a simple eclipse view, but I am getting an
java.lang.UnsatisfiedLinkError: Invalid URL for class: bundleresource://435.fwk1827795025/com/sun/glass/utils/NativeLibLoader.class
After some investigation with JAD I have found out that NativeLibLoader has very interesting check:
if(!classUrlString.startsWith("jar:file:") || classUrlString.indexOf("!") == -1)
throw new UnsatisfiedLinkError((new StringBuilder()).append("Invalid URL for class: ").append(classUrlString).toString());
Does this mean that javafx can't be used from OSGi bundle? Please prove me wrong.