Eric wrote:Unfortunately, the LeJOS plugin's "upload to brick" menu item gives me the helpful warning in the console that "something went wrong [...]". Any ideas why this might be?
Shawn wrote:Eric wrote:Unfortunately, the LeJOS plugin's "upload to brick" menu item gives me the helpful warning in the console that "something went wrong [...]". Any ideas why this might be?
Did it work before trying the updated classes.jar?
Windows XPWhat OS?
USBHow are you trying to upload? USB? bluetooth?
Unfortunately not. That's what really sucks.Is there anymore info available on the error?
Not sure. Probably 32 bit.What version of java are you using (32 or 64 bit)?
I've reposted this because for some reason the previous version is not showing up...
The easy way to get support for the ColorSensor is to use this classes.jar
This was built by another user and is 0.85 with the required fixes.
There have been lots of changes since we made 0.85 so trying to use the latest sources is probably not going to work.
If you really want to use the latest build then here are the details. But you may not get much help with trying to sort out any problems...
To use the latest developers snapshot you need to download the snapshot dir from svn. Then follow the following instructions:
NOTE: If you follow the steps below it will delete any programs you have on your nxt.
Once you have it downloaded you need to do the following...
1. Go to the directory that contains your current lejos install. This is probably in the "Program files" dir and is called "leJOS NXJ"
2. Rename that directory to be <name>.rel where <name> was the original name of the directory.
3. Unzip the snapshot file this should contain a directory called snapshot. Copy this dir into the directory that contains your release leJOS dir (i.e. "Program files").
4. Rename the snapshot to be <name> the original name of your release dir.
4a. If you have an nxj.properties file in your <name>.rel\bin dir copy this over to the new <name>\bin dir.
5. Turn on your nxt and attach it via USB.
6. go to a cmd window and run nxjflash -v -f. This will download the new firmware and reformat the nxt. It will also verify the download (so may take a little while).
7. In the version menu it should show a new build number for the firmware.
8. Test downloading to the nxt and let me know how you get on.
1. You can switch back to the old release by renaming the current <name> to <name>.new and <name>.rel to <name>
2. I'm not sure if this build will work with the Eclipse plugin, so please use the command line tools to test with (at least at first).
3. Some of the APIs may have changed so you may get errors with existing code...
4. This contains all of the files required to run leJOS from the command line. Note that there are other versions of some files like classes.jar in the source files installed in your home dir. The installed ant files will use this version of classes.jar by default so you either need to replace this copy of classes.jar, or modify the ant build files to use the version you have just installed...
5. If you do the above then the sources for leJOS installed in your home directory will not match the installed system. So some of the samples will not work etc. If this is a problem for you then you may need to switch to a developer environment...
As you can see the process is relatively complex and you may end up with APIs that have bugs in them, so be prepared to go back to a release build if you run into a problem...
Users browsing this forum: Bing [Bot] and 4 guests