- Code: Select all
Linking ...
Program has been linked successfully
Uploading ...
leJOS NXJ> Error: Failed to load USB comms driver.
leJOS NXJ> Caused by lejos.pc.comm.NXTCommException: Cannot load NXTComm driver
leJOS NXJ> at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:110)
leJOS NXJ> Caused by lejos.internal.jni.JNIException: library jfantom.dll was not found in C:\Program Files (x86)\Java\LeJOS NXJ\lib\pc\native, architecture windows/x86_64
leJOS NXJ> at lejos.internal.jni.JNILoader.loadLibrary(JNILoader.java:127)
leJOS NXJ> Searching for any NXT using Bluetooth inquiry
Native Library intelbth_x64 not available
Native Library bluecove_x64 not available
leJOS NXJ> Error: Search failed.
leJOS NXJ> Caused by lejos.pc.comm.NXTCommException: Bluetooth stack not detected
leJOS NXJ> at lejos.pc.comm.NXTCommBluecove.search(NXTCommBluecove.java:54)
leJOS NXJ> Caused by javax.bluetooth.BluetoothStateException: BlueCove libraries not available
leJOS NXJ> at com.intel.bluetooth.BlueCoveImpl.createDetectorOnWindows(BlueCoveImpl.java:896)
No NXT found - is it switched on and plugged in (for USB)?
leJOS NXJ> Failed to find any NXTs
leJOS NXJ> Failed to connect to any NXT
uploading the program failed with exit status 1
Then, when I copy the jfantom.dll from the x86 folder to the x86_64 folder, it gives me this error:
- Code: Select all
Linking ...
Program has been linked successfully
Uploading ...
leJOS NXJ> Error: Failed to load USB comms driver.
leJOS NXJ> Caused by lejos.pc.comm.NXTCommException: Cannot load NXTComm driver
leJOS NXJ> at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:110)
leJOS NXJ> Caused by lejos.internal.jni.JNIException: cannot load library C:\Program Files (x86)\Java\LeJOS NXJ\lib\pc\native\windows\x86_64\jfantom.dll, architecture windows/x86_64
leJOS NXJ> at lejos.internal.jni.JNILoader.loadLibrary(JNILoader.java:121)
leJOS NXJ> Caused by java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\LeJOS NXJ\lib\pc\native\windows\x86_64\jfantom.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
leJOS NXJ> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
leJOS NXJ> Searching for any NXT using Bluetooth inquiry
Native Library intelbth_x64 not available
Native Library bluecove_x64 not available
leJOS NXJ> Error: Search failed.
leJOS NXJ> Caused by lejos.pc.comm.NXTCommException: Bluetooth stack not detected
leJOS NXJ> at lejos.pc.comm.NXTCommBluecove.search(NXTCommBluecove.java:54)
leJOS NXJ> Caused by javax.bluetooth.BluetoothStateException: BlueCove libraries not available
leJOS NXJ> at com.intel.bluetooth.BlueCoveImpl.createDetectorOnWindows(BlueCoveImpl.java:896)
leJOS NXJ> Failed to find any NXTs
leJOS NXJ> Failed to connect to any NXT
No NXT found - is it switched on and plugged in (for USB)?
uploading the program failed with exit status 1
Is there a way I can get a jfantom.dll that supports 64-bit architecture? Also, it would also work if I could get my bluetooth working. I have an Intel® Centrino® Wireless-N 1030. Why can't I get it to recognize intelbth_x64 or bluecove_x64? I know I have bluecove.jar located in lib/pc/3rdparty, but it's still not recognizing it.
Also, all this is using the run button, not the external tools. Do I have to use the external tools, because it works when I do that.
