add demo-java code to maven-install dir.