Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

abhishekit

macrumors 65816
Original poster
Nov 6, 2003
1,297
0
akron , ohio
Hi

I was installing tomcat and struts. The problem is when I save the new path variable in .bash_profile, and then goto prefs of terminal to set it to use the file, I cant select it!! As shown in the picture, in the bottom most field, the select button cant find .bash_profile because it starts with '.'
And I cant manually enter the path in the field, its disabled. :confused:
I would really appreciate any help.

Thanks
 

Attachments

  • Picture 1.jpg
    Picture 1.jpg
    73.8 KB · Views: 124
abhishekit said:
Hi

I was installing tomcat and struts. The problem is when I save the new path variable in .bash_profile, and then goto prefs of terminal to set it to use the file, I cant select it!! As shown in the picture, in the bottom most field, the select button cant find .bash_profile because it starts with '.'
And I cant manually enter the path in the field, its disabled. :confused:
I would really appreciate any help.

Thanks
You don't have to do this. The Terminal SHOULD be smart enough to detect the change and use the new file. However, I've also had trouble getting Terminal to recognize .bash_profile. If you put the line(s) in .profile instead, it should work just fine (it does for me, anyway). You can simply use the mv (or cp) command to move/copy .bash_profile to .profile.
 
EDIT: you were correct. It did automatically take the .bash_profile. Actually I had done some error in the PATH declaration, so it was taking it and still giving the error.
Thanks a lot for your speedy help.:)

cheers
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.