I was trying to run Blink application in TinyOS installed in Ubuntu16.06.
`make telosb reinstallbsl,/dev/ttyUSB0`
It is showing that
../../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.
Further down it showed:
`<JAVA_HOME> /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`
when I checked the java -version
, it showed,
<JAVA_HOME>/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.
Please tell me how to correct this.