Skip to main content



      Home
Home » Eclipse Projects » e(fx)clipse » org.eclipse.fx.javafx export conflict
org.eclipse.fx.javafx export conflict [message #1650640] Wed, 04 March 2015 18:25 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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)
>
>
Previous Topic:Scenic View
Next Topic:unable to select text by mouse down + drag on Java FX WebView control
Goto Forum:
  


Current Time: Sun Jul 06 21:21:50 EDT 2025

Powered by FUDForum. Page generated in 0.05205 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top