bugfix: now the java app compiles correctly