add support for java in android build
Merge pull request #375 from mhamrle/android_java

add support for java in android build