org.eclipse.fx.javafx export conflict [message #1650640] |
Wed, 04 March 2015 18:25  |
Eclipse User |
|
|
|
After installing e(fx)clipse 1.2, I got the following run-time error in the application, which i suspect might be caused by bundle org.eclipse.fx.javafx, which exports package com.sun.media, but with empty content. This package and class would otherwise be loaded from another plugin, which now is superseded by org.eclipse.fx.javafx?
I think my options are:
1. Use required bundle over package import
2. Customize org.eclipse.fx.javafx bundle and export only the packages found in jfxswt.jar and jfxrt.jar.
3. other alternatives?
Any suggestion will be helpful. Thanks in advance.
java.lang.NoClassDefFoundError: com/sun/media/JMFSecurityManager
at com.sun.media.util.Registry.<clinit>(Registry.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
[Updated on: Wed, 04 March 2015 18:26] by Moderator
|
|
|
Re: org.eclipse.fx.javafx export conflict [message #1651592 is a reply to message #1650640] |
Thu, 05 March 2015 06:44  |
Eclipse User |
|
|
|
This is clearly a bug but because we delegate to the extclassloader it
should still have worked. Please file a bug.
Tom
On 05.03.15 00:25, Chauncey Xu wrote:
> After installing e(fx)clipse 1.2, I got the following run-time error in
> the application, which i suspect might be caused by bundle
> org.eclipse.fx.javafx, which exports package com.sun.media, but with
> empty content. This package and class class would otherwise be loaded
> from another plugin, which now is superseded by org.eclipse.fx.javafx?
>
> I think my options are:
>
> 1. Use required bundle over package import
> 2. Customize org.eclipse.fx.javafx bundle and export only the packages
> found in jfxswt.jar and jfxrt.jar.
> 3. other alternatives?
>
> Any suggestion will be helpful. Thanks in advance.
>
> java.lang.NoClassDefFoundError: com/sun/media/JMFSecurityManager
> at com.sun.media.util.Registry.<clinit>(Registry.java:68)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05205 seconds