JCreator Configuration for LeJOS

In the CSLab at Graceland University

The CSLab workstations have the current jdk for Java, the JCreator IDE, and the LegoMindstorms software for LeJOS programming (a Java-like language to program the robots). However, in order to use JCreator with LeJOS a user must configure JCreator on any workstation that he/she has not yet do so (or after the machine has been re-ghosted). Here are the instructions:

  1. Click the Configure menu from the menubar

  2. Click Options from the drop-down menu

  3. From the left-hand menus, click Tools

  4. Click New and select Program from the drop-down menu

  5. Navigate to C:\Program Files\Java\jdk1.5.0_07\bin

  6. Select the javac.exe file and then repeat steps 4 and 5 for java.exe in the same directory

  7. Click New and select Program from the drop-down menu

  8. Navigate to C:\lejos\bin

  9. Select the lejosc.exe file and then repeat steps 4 and 8 for lejos.exe and lejosfirmdl.exe

  10. Once the tools have been created, expand the Tools menu in the left-hand menus

  11. Select the individual tools and match the options to the table below (for the arguments and initial directory fields, use the arrow button to the right of the field)

    Tool Arguments  Initial Directory   Save all first   Capture output 
    javac $[FileName] $[FileDir] X X
    java $[CurClass] $[FileDir]    
    lejosc $[Filename] -source 1.2  $[FileDir] X X
    lejos $[CurClass] $[FileDir]    
    lejosfirmdl  type -f $[CurDir]    

  12. Click Ok and the tools should be available in the Tools menu on the menubar