To get this working in Eclipse I did the following:
Follow the directions EXACTLY as written on pages 31 - 33.
Add the following step after finishing step 8
Create another new launch configuration
Name: leJOS Link
Location: (type the path to lejoslink.bat)
Working Directory: ${project_loc}
Arguments: -o ${java_type_name}.bin ${java_type_name}
Click "Apply"
Click "Close"
Make sure you've followed the directions for installing the USB driver as discussed in the lejos download readme file and set up your environment variables as directed in the book.
If you're still having problems I'll try to help. I think I had every error and problem discussed in the forum at one point or another
