title: bootstrap class path not set
body: <p>So I am getting- <code>warning: [options] bootstrap class path not set in conjunction with -source 1.6</code></p>
  
  <p>And I am about to ask 3 questions about it. I understand that I need to set the bootstrap class path but I am not sure I understand how. A quick google just sent me to pages that quoted from the Oracle page, but I read the Oracle page and didn't feel that I understood it particularly well.</p>
  
  <p>I am currently running this code on Netbeans, so all I have to do is hit the play button for it to compile and run. Is there a property that dictates how this will compile so that I may add in the bootstrap class path? </p>
  
  <p>Also, for the coming eventuality that I will take it off running only on Netbeans and run it from the commandline, what is the correct way to compile with the bootstrap class path there? They say <code>$ javac -source 6 HelloWorld.java</code> but would just stating <code>-source 1.6</code> really be the solution? </p>
  
  <p>Perhaps an even greater question in, how do I avoid this type of warning in the future? If I understand even a little bit, I am referencing an old java source and therefore older methods. I am not sure how or when that happened.  </p>