RLI (Remote Laboratory Interface) java code