2
votes
2answers
1k views

How can I add a directory to my PATH? [duplicate]

Possible Duplicate: How to add a directory to my path? I created a .bash_aliases file with the following contents: PATH=$PATH:$HOME/opt/bin So it adds /home/myuser/opt/bin to $PATH. I ...
1
vote
1answer
713 views

NoClassDefFoundError: org/apache/derby/tools/ij

Derby says to install to opt, so I did: thufir@dur:~$ thufir@dur:~$ ll /opt/db-derby-10.9.1.0-bin/lib/derbytools.jar -rw-r--r-- 1 root root 174932 May 31 12:19 ...
1
vote
2answers
655 views

Added folders to PATH cannot be found using sudo [duplicate]

Possible Duplicate: Environment variables when run with 'sudo' I've added a new folder to my path, but when running the programs (in that folder) with "sudo" it does not work. When ...