I think this does not work if you dont have the java file.
i.e you need the .java file and the JVM whenever you run the c code.
this can be a soln but not complete soln.
There are some utilities on the net. you can search in google.com
these utilities take the .class file and give you a .exe file.
once you get the .exe, you dont need the .java file or .class file to run the
program.