Hey everyone.
Today I was just running thru the tutorials at lejos website and was trying the motors out. When I tried to run the program i get this message in Eclipse
Linking ...
js.tinyvm.TinyVMException: Method java.lang.System.exit is an unknown native method. You are probably using JDK APIs or libraries that cannot be run under leJOS.
at js.tinyvm.MethodRecord.<init>(MethodRecord.java:80)
at js.tinyvm.ClassRecord.storeMethods(ClassRecord.java:673)
at js.tinyvm.Binary.processMethods(Binary.java:653)
at js.tinyvm.Binary.createFromClosureOf(Binary.java:313)
at js.tinyvm.TinyVMTool.link(TinyVMTool.java:97)
at js.tinyvm.TinyVMTool.link(TinyVMTool.java:48)
at lejos.pc.tools.NXJLink.start(NXJLink.java:134)
at lejos.pc.tools.NXJLink.run(NXJLink.java:101)
at lejos.pc.tools.NXJLink.start(NXJLink.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at lejos.pc.tools.ToolStarter.startTool(ToolStarter.java:31)
at lejos.pc.tools.NXJLink.main(NXJLink.java:28)
Linking the file failed with exit status 1
WHATS THE PROBLEM? This is the 2nd day of using LejOS and yesterday everything worked fine. Why is it throwing this error? I tried reflashing lejos on the brick , but no to no use.
