Hi everyone,
I'm new to leJOS and I'm stuck on the installation. I did everything according to the tutorial, but for some reason nxtbrowse won't list my NXT USB-connection. I searched forum and the only suggestion I found is to use java with -d32 flag. As I understand for the latest versions of leJOS (0.91beta) this is not necessary anymore as java is already called there with -d32 flag by default. Anyway, I echoed execution string in nxjbrowse script and this is what I saw for "nxjbrowse -u":
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -d32 -Dnxj.home=/Users/neek/Coding/leJOS/nxj/bin/.. -DCOMMAND_NAME=nxjbrowse -classpath /Users/neek/Coding/leJOS/nxj/bin/../lib/pc/3rdparty/bcel.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/3rdparty/bluecove-gpl.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/3rdparty/bluecove.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/3rdparty/commons-cli.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/3rdparty/jcommon.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/3rdparty/jfreechart.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/3rdparty/stax-api-1.0.1.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/charting.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/jtools.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/pccomm.jar:/Users/neek/Coding/leJOS/nxj/bin/../lib/pc/pctools.jar lejos.pc.tools.NXJBrowser -u
leJOS NXJ> Failed to find any NXTs
No NXT found - is it switched on and plugged in (for USB)?
My NXT is connected and the native Lego software can communicate with it.
In Java Preferences I can see two Java versions (32- and 64-bit) 1.6.0_29-b11-402 and I placed the 32-bit version on top of the other in the list. I have the following environment variables set up:
export NXJ_HOME="/Users/neek/Coding/leJOS/nxj" (leJOS installed here)
export LEJOS_NXT_JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home"
export PATH="$NXJ_HOME/bin:$PATH"
I've run out of ideas. Although installing Java 1.5 seems to be the only promising option to try, I really don't like it as it might break other Java-dependent software that now works OK.
Hope someone can give me a hint of what else to try.
Thanking in advance for any help.
