Quote:
Originally Posted by reddazz
You need to add something that similar to below
Code:
export PATH=$PATH:/path/to/java/bin
That should go at the bottom of the page.
|
I tried export it did put it in the path,
but it was temporary, when i restarted it was gone.
i also tried editing in bash_profile
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
PATH =${PATH}:/Java's dir
fi
it didn't help. I kubuntu fresh and when i type
"$PATH" it brings me
/home/avd/mono-1.2.3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games: No such file or directory
why do i have no such file or directory?