I try to use JavaFX 2 from a simple eclipse view, but I get
java.lang.UnsatisfiedLinkError: invalid URL for class: bundleresource: //435.fwk1827795025/com/sun/glass/utils/NativeLibLoader.class
After some investigation with JAD, I found that NativeLibLoader has a 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 cannot be used from the OSGi package? Please prove that I'm wrong.
source share