OSX 10.7 (Lion) 上的 Lejos
我的 Mac 上安装了 Lion OSX,我想使用我的 Mac 在 Lejos 上进行开发。
我搜索了很多像样的安装指南,但找不到。所以,我尝试了网上的其他教程,但不起作用。我首先安装了 CD 上的所有内容;我还安装了 fantom 驱动程序。
我遵循了本教程,但是当我执行nxjbrowse -u
时,我收到此错误:
Exception in thread "main" java.lang.NoClassDefFoundError: lejos/pc/tools/NXJBrowser
Caused by: java.lang.ClassNotFoundException: lejos.pc.tools.NXJBrowser
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
这与设备未连接时收到的错误基本上相同。 (尽管确实是这样。)
我还在 Eclipse(32 位)中安装了该插件,然后尝试刷新固件,但出现了以下错误:
CODE: SELECT ALL
flashing the firmware failed
java.lang.RuntimeException: magic string not found
See Eclipse error log for detailed stack trace.
.
I have Lion OSX installed on my Mac and I want to use my mac to develop on Lejos.
I searched a lot for a decent install guide but I couldn't find one. So, I tried other tutorials online but it won't work. I first installed everything from the CD; I also installed the fantom driver.
I followed this tutorial, but when I did nxjbrowse -u
, I got this error:
Exception in thread "main" java.lang.NoClassDefFoundError: lejos/pc/tools/NXJBrowser
Caused by: java.lang.ClassNotFoundException: lejos.pc.tools.NXJBrowser
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Which is basically the same error I get when the device is not connected. (Although it really is.)
I also installed the plugin in Eclipse (32-bit) and then tried to flash the firmware and I got this error:
CODE: SELECT ALL
flashing the firmware failed
java.lang.RuntimeException: magic string not found
See Eclipse error log for detailed stack trace.
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案相当简单,使用 lejos 0.9 而不是 0.85。
The solution is rather simple , use lejos 0.9 and not 0.85.