(ui) Fix java errors with eclipse Luna