[Ilugc] class path setting in ubuntu

  • From: rajendhran@xxxxxxxxx (R Rajendhran)
  • Date: Wed Mar 3 08:24:01 2010

From: Sri Balaji Web Hosting <rajirangan2008@xxxxxxxxx>
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Sent: Tue, 2 March, 2010 9:59:45 PM
Subject: [Ilugc] class path setting in ubuntu

Hi,
I have a ubuntu installed in my system . i have to set the class path for
external jar files. Java is also installed. Any one can help me regarding
this
-- 
regards
P.Rajeswari
_______________________________________________

Hi,

Suppose you have the .jar file as   /home/user1/app1/package1.jar,
you can put the following lines at /etc/profile like this:

CLASSPATH=/home/user1/app1/package1.jar
export CLASSPATH

To edit /etc/profile, you should use 'sudo gedit' or 'sudo vi'

Regards,
Rajendhran


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Other related posts: