[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-ui-dev] Eclipse plugin and JFX8
|
Thanks Marcus.
I will find out the right forum.
Eric
Le 14 avr. 2014 à 20:49, Markus Keller <markus_keller@xxxxxxxxxx> a écrit :
> JavaFX is not accessible in OSGi bundles, see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=431067#c3 .
>
> Maybe there are ways to work around that, but this is not the right forum
> for that question (a problem between JavaFX and OSGi).
>
> Markus
>
> jdt-ui-dev-bounces@xxxxxxxxxxx wrote on 2014-04-14 18:37:15:
>
>> From: Eric Le Ponner <eric.le.ponner@xxxxxxxxxx>
>> To: jdt-ui-dev@xxxxxxxxxxx
>> Date: 2014-04-14 18:37
>> Subject: [jdt-ui-dev] Eclipse plugin and JFX8
>> Sent by: jdt-ui-dev-bounces@xxxxxxxxxxx
>>
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> jdt-ui-dev mailing list
>> jdt-ui-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jdt-ui-dev
>>
>
> _______________________________________________
> jdt-ui-dev mailing list
> jdt-ui-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jdt-ui-dev