devdaily home | java | perl | unix | directory | weblog

up previous next contents index
Next: More to come ... Up: Example - moving the Previous: Example - moving the   Contents   Index

Compile and run review

Just to review the compile and run steps one more time, here's what you do to compile this class:

lejosc Motor1.java

and here's what you do to send the compiled class file to the RCX:

lejos Motor1

When the program has been downloaded to the RCX, you run it by simply pressing the "Run" button.

If you are interested in using this sample program, you can download it here as Motor1.java.


up previous next contents index
Next: More to come ... Up: Example - moving the Previous: Example - moving the   Contents   Index