These functions are encapsulated in LowLevel.java and can be adapted to environments where the full Java library is not available.
The leJOS system has very limited output capabilities and and a special LowLevel.java exists in the lejos subdirectory.