title: How to set Java classpath in Linux?
body: <p>I downloaded <code>apache-log4j-1.2.16.zip</code> and unziped it. I then renamed it as <code>LOG4J_HOME</code> and placed it in <code>/home/appnetix</code> folder which is my folder. I tried setting the classpath in the terminal using the following command :</p>
  
  <pre><code>[appnetix@Sanjeev ~]$ set classpath=%path%;LOG4J_HOME/log4j-1.2.16.jar;
  </code></pre>
  
  <p>That returned:</p>
  
  <pre><code>bash: LOG4J_HOME/log4j-1.2.16.jar: Permission denied
  </code></pre>
  
  <p>I tried doing this:</p>
  
  <pre><code>[appnetix@Sanjeev ~]$ set classpath=%path%;//home/appnetix/LOG4J_HOME/log4j-1.2.16.jar;
  </code></pre>
  
  <p>But I got this:</p>
  
  <pre><code>bash: //home/appnetix/LOG4J_HOME/log4j-1.2.16.jar: Permission denied
  </code></pre>
  
  <p>Please help, I'm new in Linux (one month).</p>