Yes, it is a GUI application. It displays objects in 3D using a native library called VTK (http://www.vtk.org)

Headless mode is therefore not an option :-)

Ben

Le 22/05/2012 10:55, Robert Munteanu a écrit :

-----Original Message-----
From: Benoît Thiébault [mailto:[email protected]]
Sent: Tuesday, May 22, 2012 11:51 AM
To: [email protected]
Subject: ClassNotFoundException: sun.awt.X11.XToolkit

Hi everyone,

When running Felix 4.0.2 with an application I am developing, I am
getting the following error:

java.lang.ClassNotFoundException: sun.awt.X11.XToolkit not found by
org-test-bundle [25]

Is this a GUI application? If not, you can try adding

-Djava.awt.headless=true

to the application's system properties.

Robert

      at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelega
tion(BundleWiringImpl.java:1460)
      at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl
.java:72)
      at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass
(BundleWiringImpl.java:1843)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

I have created a system bundle exporting sun.awt.X11, but it does not
change this behaviour.
Is this a framework bug?
Or could this be the result of a deadlock in the EDT?

Thanks for your help

Kind regards,

Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
Dr Benoît Thiébault
Project Manager

   Artenum Toulouse - Science&  Groupware
   http://www.artenum.com

       Bâtiment Calfocenter
       10, rue Marguerite-Long
       31320 Castanet-Tolosan
       France
       Phone: +33 (0)5 82 95 19 00


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to