Download‎ > ‎



Use RPM package (Fedora, RedHat)
Download and install Jpcap RPM package.
For some distributions (e.g., Mandriva), JDK6 is also installed automatically.
However, for some distributions (e.g., Fedora Core), you have to manually install Sun's JDK6 for Linux as a RPM package before installing Jpcap RPM package.
    Use Debian package (Ubuntu, GNU/Debian)
    Download and install Jpcap Debian package.
    For some distributions (e.g., Ubuntu), JDK6 is also installed automatically.
    For some distributions (e.g., Debian GNU/Lunux), you may have to edit apt-line (e.g., include "no-free") before installing Jpcap Debian package. Also, you may have to update your GLIBC to version 2.4 or higher. 

    If you cannot install using RPM/Debian package, you can try to build form the source.

    <Mac OS X> 
    1. Both Java and libpcap are preinstalled on Mac OS X. 
      If any of them is missing you should be able to install them from the Mac OS X install DVD. 
    2. Download and install Xcode
      The default installation of Xcode should provide you with the toolchain required for compiling Jpcap.
    3. Download and extract Jpcap source build. 
    4. Go to '[Jpcap extracted directory]/src/c' directory. 
    5. Run 'make'.
    6. Copy 'libjpcap.jnilib' to '/Library/Java/Extensions/' directory. 
    7. Copy '[Jpcap extracted directory]/lib/jpcap.jar' to '/Library/Java/Extensions/'
      Or, place 'jpcap.jar' to any directory and include it to your CLASSPATH.

    <Source build (Linux/FreeBSD/Solaris)>
    1. Make sure you have 'gcc' and 'make' installed to compile Jpcap.
      Other software/packages may be necessary (for example, you need 'build-essential' package to install on Ubuntu).
    2. Download and install lipcap (ver.0.9.4 or later) if not installed.
    3. Download and extract Jpcap source build.
    4. Go to '[Jpcap extracted directory]/src/c' directory.
    5. Run 'make'.
    6. Copy '' to '[Java installed directory]/jre/lib/<arch>'. <arch> is either 'i386' or 'sparc'.
      Or, if you are using Java 6, copy '' to '/usr/java/packages/lib/ext'.
      Or, place '' in the directory where your application is located.
    7. Copy '[Jpcap extracted directory]/lib/jpcap.jar' to '/usr/lib' or '[Java installed directory]/jre/lib/ext'.
      Or, place 'jpcap.jar' to any directory and include it in your CLASSPATH.

    web analytics
    SelectionFile type iconFile nameDescriptionSizeRevisionTimeUser

    Linux x86 (RedHat, Fedora)  46k v. 1 Dec 20, 2011, 11:45 AM Zarko Coklin

    Linux x86 (Debian, Ubuntu)  35k v. 1 Dec 20, 2011, 11:46 AM Zarko Coklin

    View Download
    Source build (FreeBSD, Mac OS X, Solaris)  700k v. 1 Dec 20, 2011, 11:46 AM Zarko Coklin

    View Download
    Windows  143k v. 1 Dec 20, 2011, 11:45 AM Zarko Coklin