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..
Printable View
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..
Add this after those two lines:
Code:export PATH
it is already present there.. still i dint get it...
export PATH
unset USERNAME
this is already there.. yet i dint... help me out..
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?
ya.. becoz i have installed the jdk in home/username thats y...
should it be $HOME/$USERNAME ????????????????????
What is the actual directory pathname to the java bin directory?Quote:
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