Added java builds to linux tests.

The code developed on windows just worked with
an installed openjdk on linux.