• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help! Why do I need to set the path everytime I log in to compile Java programs in Linux?

bigrash

Lifer
Just like the title says. It seems like I need to set the path everytime to compile Java programs in RedHat 7.2. Is there any other file that I need to modify?
 
Look for the file .profile inside your home directory and add the following lines:

PATH=$PATH:/path/to/jdk/bin

export PATH


Hopefully that's correct. It's been a while 🙂
 
Back
Top