Ein erstes Beispielprogramm
u import josx.platform.rcx.*;

public class MoveForward {
  public static void main(String argv[]) {
    Motor.A.forward();

    try {
      Thread.sleep(1000);
    } catch(Exception e) {
    }

    Motor.A.stop();
  }
}