LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-23-2010, 05:10 PM   #1
wanconcepts
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 swt-3.6-gtk-linux-x86.zip to the java location of /usr/lib/jvm/jre/lib with no success.

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

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
Hi,

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

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

Original Poster
Rep: Reputation: 0
Duh...

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!
 
  


Reply


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 06:11 AM
how to include the path of exe in the ld library path? malli42108 Linux - Networking 10 09-17-2009 10:21 AM
set up java_home path in /home/user/.bashrc but use path in /usr/lib/java vitalstrike82 Slackware 4 01-14-2009 12:25 AM
no swt-pi-gtk-3138 in java.library.path vlaspld Linux - Software 2 07-24-2006 12:44 PM
Cannot load .so file from java library path whalesurf Linux - Software 1 07-24-2006 12:43 PM


All times are GMT -5. The time now is 10:45 AM.

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