- set java version
- fix compiler warnings
- cleanup