Review your favorite Linux distribution.
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 03-22-2007, 02:12 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 16

Rep: Reputation: 0
Problem with jpcap

Hi, I am trying to use jpcap under linux. I installed it according to the README, added /usr/java/jdk1.5.0_11/jre/lib/i386/ to /etc/, lauched ldconfig to link and set
CLASSPATH=.:/usr/java/jdk1.5.0_11/jre/lib/ext/ export CLASSPATH to the path where jpcap.lib is placed.

When I try to run the Tcpdump example I get this error message: Exception in thread "main"

java.lang.NoClassDefFoundError: Tcpdump
Caused by: java.lang.ClassNotFoundException: jpcap.PacketReceiver not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at gnu.gcj.runtime.SystemClassLoader.findClass(
at java.lang.ClassLoader.loadClass
at java.lang.ClassLoader.loadClass(
at java.lang.VMClassLoader.defineClass(
at java.lang.ClassLoader.defineClass

Does anybody know, where the problem could be? I use FC6 2.6.18-1
Thanks in advance. Tom

Last edited by tklima; 03-22-2007 at 02:15 PM.


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
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 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
Open Source Consulting | Domain Registration