I have also tried removing the spaces in my environmental variables, to check if this is causing the problem.
Chris
Error from command line:
- Code: Select all
C:\Documents and Settings\Christopher\My Documents\Computing\Robotics\Lejos NXJ
Workspace\Robocup Rescue\bin>nxj -r UploadTest
leJOS NXJ> Linking...
leJOS NXJ> Uploading...
leJOS NXJ> Failed to load USB comms driver: Cannot load USB driver
leJOS NXJ> Searching for any NXT using Bluetooth inquiry
leJOS NXJ> Search Failed: BluetoothStack not detected
leJOS NXJ> Failed to find any NXTs
leJOS NXJ> Failed to connect to any NXT
an error occurred: No NXT found - is it switched on and plugged in (for USB)?
Error from eclipse:
- Code: Select all
Failed to load USB comms driver: Cannot load USB driver
Failed to find any NXTs
Failed to connect to any NXT
Something went wrong when trying to upload the program to the brick
Output form the set command:
- Code: Select all
C:\Documents and Settings\Christopher\My Documents\Computing\Robotics\Lejos NXJ
Workspace\Robocup Rescue\bin>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Christopher\Application Data
CLASSPATH=C:\Program Files\Java\jdk1.6.0_04\lib;C:\Program Files\Java\jdk1.6.0_0
4\jre\lib\rt.jar;C:\Program Files\Java\freetts-1.2.1-bin\freetts-1.2.1\lib\freet
ts.jar;C:\Program Files\Java\jre1.6.0_05\lib\ext\QTJava.zip;C:\Program Files\Jav
a\watij\lib;C:\Program Files\Java\watij;C:\PROGRA~1\LEJOSN~1\3rdparty\lib\;C:\PR
OGRA~1\LEJOSN~1\lib;
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=BAINES_FAMILY_2
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
GTK_BASEPATH=C:\PROGRA~1\GTK
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Christopher
INCLUDE=C:\Program Files\GTK\INCLUDE;C:\Program Files\GTK\INCLUDE\GTK-2.0;C:\Pro
gram Files\GTK\INCLUDE\GLIB-2.0;C:\Program Files\GTK\INCLUDE\PANGO-1.0;C:\Progra
m Files\GTK\INCLUDE\CAIRO;C:\Program Files\GTK\INCLUDE\ATK-1.0;C:\Program Files\
GTK\INCLUDE\GTKGLEXT-1.0;C:\Program Files\GTK\LIB\GTK-2.0\INCLUDE;C:\Program Fil
es\GTK\LIB\GLIB-2.0\INCLUDE;C:\Program Files\GTK\LIB\GTKGLEXT-1.0\INCLUDE;C:\Pro
gram Files\GTK\INCLUDE\LIBGLADE-2.0;C:\Program Files\GTK\INCLUDE\LIBXML2;
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_04
LIB=C:\Program Files\GTK\LIB;
LOGONSERVER=\\BAINES_FAMILY_2
NUMBER_OF_PROCESSORS=2
NXJ_HOME=C:\PROGRA~1\LEJOSN~1
OS=Windows_NT
Path=C:\PROGRA~1\LEJOSN~1\bin;C:\PROGRA~1\GTK\bin;C:\Program Files\Windows Resou
rce Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr
am Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Java\jdk1.6.0_04\
bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\MinGW;C:\Program Files
\Graphv;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0409
ProgramFiles=C:\Program Files
PROMPT=$P$G
QTJAVA=C:\Program Files\Java\jre1.6.0_05\lib\ext\QTJava.zip
SESSIONNAME=Console
SonicCentral=C:\Program Files\Common Files\Sonic Shared\Sonic Central\
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\CHRIST~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\CHRIST~1\LOCALS~1\Temp
USERDOMAIN=BAINES_FAMILY_2
USERNAME=Christopher
USERPROFILE=C:\Documents and Settings\Christopher
windir=C:\WINDOWS

