Thanks for approving, i updated the post with my error code, and java code.