Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 23:25 Go to next message
Chauncey Xu is currently offline Chauncey XuFriend
Messages: 12
Registered: October 2010
Junior Member
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 23:26]

Report message to a moderator

Re: org.eclipse.fx.javafx export conflict [message #1651592 is a reply to message #1650640] Thu, 05 March 2015 11:44 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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: Wed Feb 05 04:51:02 GMT 2025

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

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

Back to the top