Use jenerator and remove patches. fixes #7

Now jenerator supports java language. So, I changed the script.