Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-23-2010, 04:10 PM   #1
LQ Newbie
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
SWT Java library path Angry IP Scanner

I am running a 64bit CentOS 5.5 box and am trying to get the java app angry ip scanner working using the ipscan-linux-3.0-beta4.jar. Running java -jar ipscan-linux-3.0-beta4.jar gives me an error of:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3347 or swt-gtk in swt.library.path, java.library.path or the jar file
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 net.azib.ipscan.Main.main(Unknown Source)

Googled swt error and following instruction #3 about paths...I added the swt.jar file from to the java location of /usr/lib/jvm/jre/lib with no success.

Any help will be appreciated...
Old 09-23-2010, 04:49 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,761

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587

Since you're running a 64bit OS, you need the 64bit version of ipscan

Old 09-24-2010, 01:15 PM   #3
LQ Newbie
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0

Guess I'm assuming a fall back to 32bit if not a 64bit application. How would the VM know especially when using low level network calls.

Thanks for your eyes point out the issue!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Can Oracle Swing it on SWT in Java? LXer Syndicated Linux News 0 04-06-2010 05:11 AM
how to include the path of exe in the ld library path? malli42108 Linux - Networking 10 09-17-2009 09:21 AM
set up java_home path in /home/user/.bashrc but use path in /usr/lib/java vitalstrike82 Slackware 4 01-13-2009 11:25 PM
no swt-pi-gtk-3138 in java.library.path vlaspld Linux - Software 2 07-24-2006 11:44 AM
Cannot load .so file from java library path whalesurf Linux - Software 1 07-24-2006 11:43 AM

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration