title: macOS Catalina 10.15(beta) - Why is ~/.bash_profile not sourced by my shell?
body: <p>I want to set the environment variable I added below the line to <code>~/.bash_profile</code> and <code>~/.profile</code> but it didn't work.</p>
  
  <pre><code>export JBOSS_HOME=/Users/{USERNAME}/Desktop/jboss7
  </code></pre>
  
  <p>Afterward, exit the terminal and open it again when executing <code>echo $JBOSS_HOME</code> I get nothing.
  <br>
  <a href="https://i.stack.imgur.com/i8pyb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/i8pyb.png" alt="enter image description here"></a></p>