moving JNI library to 'build/lib' dir on non-Win
updating JNI lib location for Unix; formatting update
more formatting
minor formatting
removing redundant code
Merge pull request #620 from apavlenko:java_tutorial_fix