Reputation: 91
When we config JDK environment varibales in Ubuntu. We always do like this: export PATH=${JAVA_HOME}/bin:$PATH why need we add the $PATH??
Upvotes: 0
Views: 29
Reputation: 1028
It appends the existing path to the end of the path you are setting. The snippet you gave is basically adding your java location to the beginning of your path.
Upvotes: 1