Fixed building java files procedure
Merge pull request #17 from miktam/bugfix/build_java_example_fix

Fixed building java files procedure