我在Ubuntu 16.04中的TinyOs中工作。 当我运行Blink程序时,出现以下错误:
[INFO] script
2538 bytes in ROM
56 bytes in RAM
[INFO] size (toolchain):
text data bss dec hex filename
2596 2 56 2654 a5e build/telosb/main.exe
[INFO] generating symbol table
[INFO] generating listing
[INFO] creating ihex file
[INFO] writing TOS image
[INFO] writing TOS buildinfo
[INFO] running the wiring check
<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
有人能说出为什么会发生这个错误吗?
答案1
TinyOS 正在尝试访问 Java 9 中已弃用的功能。尝试安装早期版本的 JRE,并将 JAVA_HOME 指向它