2010/12/8 ராஜ பாண்டி <[email protected]>: > /* 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?
I think you have users set in , so you can add the export to your bashrc. That is you can add the above lines of export to vi ~/.bashrc or you can add it to end of /etc/profile HTH --ashwin _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
