Đặng Thu Hà
New member
How do I permanently set my Java path in Linux?
Answer
You may set $PATH permanently in two ways.
Answer
You may set $PATH permanently in two ways.
- To set the path for a particular user: You may need to make the entry in file . bash_profile in the home directory for the user. …
- To set a common path for all system users, you may need to set the path like this: echo “export PATH=$PATH:/path/to/dir” >> /etc/profile.