jneug / bluej-lejos

An extension for BlueJ to integrate leJOS support
GNU General Public License v2.0
2 stars 0 forks source link

Uploading NXJ Files to NXT via BlueJ Extension Is Unsuccessful #1

Open gcschmit opened 10 years ago

gcschmit commented 10 years ago

First of all, thank you for developing the leJOS extension for BlueJ. I use leJOS and your extension in my computer science class.

I recently upgraded to the latest version of your extension and leJOS 0.9.1b3 on Windows 7.

I am able to successfully compile the Java source files and generate the NXJ file. However, when I attempt to upload the NXJ file to the NXT, there is a problem. At first, it appears to be successful. However, when I try to execute the file on the NXT, an exception is generated. When I inspect the uploaded NXJ file on the NXT, the file size is 0. It appears that the file is not uploading successfully.

If I upload the file using the nxjupload program from the command line, the file is uploaded fine (runs successfully, file size > 0).

Any suggestions? Is this a known issue?

Please let me know if I can provide any more information that would be helpful.

jneug commented 10 years ago

I can't reproduce this error. On my test installation (Windows 7 / Java SE 7u67 32bit / leJOS 0..9.1b3) the upload and execution works fine. Can you give me some more details about the Java versions you use? Do you use the BlueJ distribution that comes bundled with a JDK? Perhaps you should try to change the VM to the 32bit version that leJOS needs to run its programs.