Add new command in java-layer

Currently supported by the PC java console.