I recently set up a github account to store the source code of a project I have been working on.
I am using egit eclipse plugin to push changes to <
I had the same problem. I fixed it by pointing the JAVA_HOME variable to jdk 6. It was originally pointing to jdk 5.