Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Error while running BIRT Chart Examples
Error while running BIRT Chart Examples [message #60475] Thu, 21 July 2005 09:05 Go to next message
Eclipse UserFriend
Originally posted by: nemesis.gmail.com

hi, i've been trying to run the char examples along BIRT 1.0 download
however when running the application i'm getting the following errors any
help?


[ERR]: org.eclipse.birt.chart.exception.PluginException: Unable to locate
any entries for lookup=dv.SWT; element=(name:device) in any plugin.xml
file in all of the available plugins
org.eclipse.birt.chart.exception.PluginException: Unable to locate any
entries for lookup=dv.SWT; element=(name:device) in any plugin.xml file in
all of the available plugins
at
org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:636)
at
org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:324)
at
org.eclipse.birt.chart.examples.api.format.ColoredByCategory . <init>(ColoredByCategory.java:107)
at
org.eclipse.birt.chart.examples.api.format.ColoredByCategory .main(ColoredByCategory.java:75)
org.eclipse.birt.chart.exception.PluginException: Unable to locate any
entries for lookup=dv.SWT; element=(name:device) in any plugin.xml file in
all of the available plugins
at
org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:636)
at
org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:324)
at
org.eclipse.birt.chart.examples.api.format.ColoredByCategory . <init>(ColoredByCategory.java:107)
at
org.eclipse.birt.chart.examples.api.format.ColoredByCategory .main(ColoredByCategory.java:75)
java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.graphics.Device.init(Device.java:564)
at org.eclipse.swt.widgets.Display.init(Display.java:1780)
at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:993)
at
org.eclipse.birt.chart.examples.api.format.ColoredByCategory .main(ColoredByCategory.java:78)
Exception in thread "main"
Re: Error while running BIRT Chart Examples [message #60566 is a reply to message #60475] Fri, 22 July 2005 00:40 Go to previous message
Nina Li is currently offline Nina LiFriend
Messages: 44
Registered: July 2009
Member
Greeting,

Please make sure that you had added the following VM arguments variables
into your application run configurations:

-DSTANDALONE -DBIRT_HOME=<eclipse_install_directory>
-Djava.library.path=<eclipse_install_directory>\plugins\
org.eclipse.swt.<windowing_system>_<eclipse_version_number >\os\<operating_system>\<processor_architecture>

E.g. For Windows, it could be
plugins\org.eclipse.swt.win32_3.0.1\os\win32\x86 inside the Eclipse
installation directory.
For Mac OS X, it could be
plugins\org.eclipse.swt.carbon_3.0.0\os\macosx\ppc

Cheers.

Regards,
Nina
Previous Topic:Avoid pdf file
Next Topic:Navigation
Goto Forum:
  


Current Time: Sun Oct 06 09:20:26 GMT 2024

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

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

Back to the top