hi!

to set path in cygwin you may chose two paths.

1. just when u login in cygwin, u find urself in your home directory.
in linux and cygwin, hidden file names start with a .  , so simply
passing ls command won't show you all the files. use ls -a instead. u
will see a .bash_profile file. If you have vim installed, use it or
else use notepad( u r using cygwin, so ..) to edit this file.

e.g

If u installed jdk1.5.0 in c:\jdk1.5.0

then to set path of java u will write this line

set path=$PATH:/cygdrive/c/jdk1.5.0

before this line

export $PATH

after this, while in home directory, pass this command

. .bash_profile

that's it.

2. To set a path for all users, edit profile file located in etc
folder e.g. vi /etc/profile

e.g.

same as before...

If u installed jdk1.5.0 in c:\jdk1.5.0

then to set path of java u will write this line

set path=$PATH:/cygdrive/c/jdk1.5.0

before this line

export $PATH

after this while in any directory, pass this command

. /etc/profile

that's it.

I hope this will solve your problem in cygwin.

bye
sujeet

......
may the force be with u always...
catch me at www.geocities.com/suji_kin2000










To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.3001176/D=groups/S=:HM/A=2376776/rand=577620540


Yahoo! Groups Links

Reply via email to