Email: geek00l@gmail.com
My operating system platform is gentoo, I have jre installed and when I run tnv_startup.sh, the gui launches just fine, however when I try to load the pcap file, I got this error -
PacketCapture: loading native library jpcap.. Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /home/geek00l/i-Apps/tnv-0.3.7/lib/Linux/libjpcap.so: Can't load IA 32-bit .so on a IA 32-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at net.sourceforge.jpcap.capture.PacketCapture.<clinit>(PacketCapture.java:174)
at net.sourceforge.tnv.TNV.importTcpdumpFile(TNV.java:744)
at net.sourceforge.tnv.TNV.access$12(TNV.java:734)
at net.sourceforge.tnv.TNV$8.actionPerformed(TNV.java:332)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
..................Edited
Then nothing is shown in the gui, I'm not familiar with java so I have no clue why it happens. Please do let me know if other methods are preferred when submitting bugs.
Thanks.
Logged In: YES
user_id=337941
Originator: NO
Please send the output of the following:
uname -a
java -version
Can you try explicitly setting LD_LIBRARY_PATH in the startup script, so change this line:
START_STRING="$JAVA -Djava.library.path=./lib/$SYSTEM $MEMORY $APPLE -jar tnv.jar"
to:
LD_LIBRARY_PATH=./lib/$SYSTEM
START_STRING="$JAVA $MEMORY $APPLE -jar tnv.jar"
I think the problem is that the jpcap native library is not working on your platform. You may have to get the jpcap source and compile it yourself. To do so, download from: http://sourceforge.net/project/showfiles.php?group_id=27207
Build the library on your platform and then copy it into /lib/Linux/
Please let me know.