Hi,
Friends, i'm started an application which uses Jpcap library. I have
done the following steps to use Jpcap library as my senior told. I
downloaded all the necessary packages and performed the following
steps.
cp /root/project/softwares_req/jdk-linux-6u11-i586.bin /opt
/* Installing java manually */
cd /opt
sh jdk-linux-6u11-i586.bin
/* Setting the needed files for jpcap in appropriate directories */
cp /root/project/softwares_req/libjpcap.so /opt/jdk1.6.0_11/jre/lib/i386/.
cp /root/project/softwares_req/jpcap.jar /opt/jdk1.6.0_11/jre/lib/i386/.
cp /root/project/softwares_req/jpcap.jar /opt/jdk1.6.0_11/jre/lib/ext/.
export JAVA_HOME="/opt/jdk1.6.0_11/bin/java"
export PATH="/opt/jdk1.6.0_11/bin:$PATH"
Now when i want to run my java program which uses Jpcap, i have to
export the paths as i mentioned, if i execute it in a new terminal. So
where i have to put these jar and .so files so that they can be
referred automatically with out exporting paths?
--
with regards
Raja Pandi
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc