Some time ago I needed to convert one C program to Java. It is tedious and not interesting job to do. So I developed C to Java converter. I can not say, that it is fully functional or have no bugs. But you may find it useful to use this tool first, before making changes by hand.
This program assumes, that C preprocessing is already done (so there should not be any defines and includes). Problems with allocation of memory is not solved (maloc needs to be replaced with new). One of my main problems was 'goto' operator. To solve this problem I am using dummy while loops and exceptions.URL: http://www.soften.ktu.lt/~stonis/c2java/index.html
Licence: Public Domain