compiler: main: support --clean
compiler: java: update against runtime lib changes