title: How should I set CLASSPATH?
body: <p>I did this before:</p>
  
  <blockquote>
    <p>CLASSPATH=".:/home/phoenies/jdk1.6.0_17/lib/tools.jar:/home/phoenies/jdk1.6.0_17/lib/dt.jar"</p>
  </blockquote>
  
  <p>But today an article says I should do this:</p>
  
  <blockquote>
    <p>CLASSPATH=".:/home/phoenies/jdk1.6.0_17/lib"</p>
  </blockquote>
  
  <p>If I do so, will it search all the jar files in lib? So it's probably a shorter way?</p>