added Java example
Merge origin/master