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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
