Java: add NCSS support.