Refactored and unifid Java API example jobs
Updated JAR packaging of Java example programs