[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-ui-dev] Eclipse plugin and JFX8
|
Hi Folks,
I’m trying to make an Eclipse plugin which creates some JFX8 objects (an FXCanvas
and a Label). I’m using Luna (Build id: I20140325-0830).
By adding a « javafx/** » permission and jfxswt.jar to my plugin, I am able to
compile my code.
However when I run, my plugin does not find FX classes:
Caused by: java.lang.ClassNotFoundException: javafx.scene.Parent cannot be found by osgi.identity; osgi.identity="com.oracle.javafx.scenebuilder.shine"; type="osgi.bundle"; version:Version="1.0.0.qualifier"; singleton:="true"
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:416)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 134 more
I searched the web and did some trials (moving jfxrt.jar in boot class path, setting
osgi.frameworkParentClassloader=ext…). But no luck : my plugin is unable to find FX8 classes.
I’m not sure about what I should do to fix it.
I probably miss something obvious (I’m an Eclipse newbie).
Any help/pointer would be appreciated.
Cheers.
Eric