Error while setting up Avior Codebase

248 views
Skip to first unread message

brij jaitly

unread,
Feb 7, 2013, 7:26:06 AM2/7/13
to openflo...@googlegroups.com
I am getting following error which i imported the project in the eclipse and tried to run it.. please can you help

Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
no swt-win32-4233 in java.library.path
no swt-win32 in java.library.path
Can't load library: /home/openflow/.swt/lib/linux/x86/libswt-win32-4233.so
Can't load library: /home/openflow/.swt/lib/linux/x86/libswt-win32.so

at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at view.Startup.open(Startup.java:45)
at view.Startup.<init>(Startup.java:36)
at avior.Avior.main(Avior.java:9)


Jason Parraga

unread,
Feb 7, 2013, 1:53:04 PM2/7/13
to openflo...@googlegroups.com
Did you follow the instructions and configure your build path to include the proper swag jar?

  1. Clone the repository
  2. Import the project into eclipse
  3. Configure your build path to include the appropriate SWT jar for your operating system. By default the 64 bit Linux jar is included. If you are using Windows or Mac, you will need to remove this and add the appropriate one from the Lib folder.

Jason Parraga

unread,
Feb 7, 2013, 1:54:02 PM2/7/13
to openflo...@googlegroups.com
the proper SWT* jar


On Thursday, February 7, 2013 7:26:06 AM UTC-5, brij jaitly wrote:

SamaScience

unread,
Apr 22, 2013, 5:16:23 AM4/22/13
to openflo...@googlegroups.com
what exactly do you mean by the proper swt file can you be more specific please ? 

my error 

"Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
no swt-gtk-4233 in java.library.path
no swt-gtk in java.library.path
Can't load library: C:\Users\srujan\.swt\lib\win32\x86_64\swt-gtk-4233.dll
Can't load library: C:\Users\srujan\.swt\lib\win32\x86_64\swt-gtk.dll

at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at view.Startup.open(Startup.java:45)
at view.Startup.<init>(Startup.java:36)
at avior.Avior.main(Avior.java:41)

Jason Parraga

unread,
Apr 22, 2013, 6:03:15 PM4/22/13
to openflo...@googlegroups.com
I mean the proper download for your architecture. Quick google search explains the error you're getting : http://stackoverflow.com/questions/4415827/java-lang-unsatisfiedlinkerror-cannot-load-64-bit-swt-libraries-on-32-bit-jvm-i


On Thursday, February 7, 2013 7:26:06 AM UTC-5, brij jaitly wrote:
Reply all
Reply to author
Forward
0 new messages