title: Error while trying to compile in TinyOS
body: <p>I was trying to run Blink application in TinyOS installed in Ubuntu16.06.</p>
  
  <pre><code>`make telosb reinstallbsl,/dev/ttyUSB0`
  </code></pre>
  
  <p>It is showing that </p>
  
  <pre><code>../../support/make/Makerules:56:  Old TinyOS environment variables detected.
  
  This version of the TinyOS make system has deprecated the TOSDIR, TOSROOT,
  and MAKERULES environment variables. Generally, you shouldn't need
  environment variables with this version of the TinyOS make system, and if
  you are not using any older versions of TinyOS on your system you should
  delete these environment variables. If you wish to leave these variables
  but hide this warning, set the TINYOS_NO_DEPRECATION_WARNING environment
  variable. If you are looking to compile against a different TinyOS tree,
  configure the makefiles used when compiling, or setup an external TinyOS
  tree with additional source files, please visit
  https://github.com/tinyos/tinyos-main/blob/master/support/make/README.md
  for more information about the TinyOS make system.
  </code></pre>
  
  <p>Further down it showed:</p>
  
  <pre><code>`&lt;JAVA_HOME&gt; /lib/ext exists, extensions mechanism no longer supported; 
  Use -classpath instead.
  .Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.
  ../../support/make/Makerules:362: recipe for target 'wiring_check' failed
  make: *** [wiring_check] Error 1`
  </code></pre>
  
  <p>when I checked the <code>java -version</code>, it showed,</p>
  
  <pre><code>&lt;JAVA_HOME&gt;/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
  .Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.
  </code></pre>
  
  <p>Please tell me how to correct this.</p>