Results 1 to 6 of 6
PATH=$PATH:$HOME/bin
PATH=$PATH:/$home/username/j2sdk1.4.1/bin
this is wat i have specified in my .bash_profile
but when i give javac in my console it is showing command not found.
help me wat to do.....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-18-2006 #1Just Joined!
- Join Date
- May 2006
- Posts
- 3
enviromental variable
PATH=$PATH:$HOME/bin
PATH=$PATH:/$home/username/j2sdk1.4.1/bin
this is wat i have specified in my .bash_profile
but when i give javac in my console it is showing command not found.
help me wat to do..
- 06-18-2006 #2
Add this after those two lines:
Code:export PATH
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 06-18-2006 #3Just Joined!
- Join Date
- May 2006
- Posts
- 3
it is already present there.. still i dint get it...
export PATH
unset USERNAME
this is already there.. yet i dint... help me out..
- 06-18-2006 #4Just Joined!
- Join Date
- May 2006
- Posts
- 31
PATH=$PATH:/$home/username/j2sdk1.4.1/bin
Typo? $HOME/$USERNAME
Needs to be all caps. Are you sure you need the username thing in there?
- 06-19-2006 #5Just Joined!
- Join Date
- May 2006
- Posts
- 3
ya.. becoz i have installed the jdk in home/username thats y...
should it be $HOME/$USERNAME ????????????????????
- 06-19-2006 #6Just Joined!
- Join Date
- May 2006
- Posts
- 31
What is the actual directory pathname to the java bin directory?
Originally Posted by kingvignesh
On my system, /home/vls points into my personal directory; I have a bin directory that I put scripts and test programs in so : /home/vls/bin
If I did the java thing it would be /home/vls/j2sdkwhatever/bin


Reply With Quote
