C to Java Virtual Machine compilers
From Wikipedia, the free encyclopedia
C to Java Virtual Machine compilers marry the highly popular C language with the platform independent Java Virtual Machine for Write Once Run Anywhere (WORA) using the C language.
It is important to note that Java and Java Virtual Machine are two separate things, although there is a tendency to think of them as the same thing. The distinction is that Java is a programming language and a Java Virtual Machine is a program execution environment. To run under a Java Virtual Machine, one simply needs to have a compiler that translates the source program into Java bytecodes. This can be done for many high-level languages, such as C, Ada, and COBOL. Thus, programs can be written in these languages and run on the Java Virtual Machine. C compilers may be the most appropriate because of the existence of a very significant amount of software already written in the C language; in addition there's a large community of C programmers. The Java bytecodes that are generated by the compiler make the application platform-independent; the Java high-level language itself has no role to play at all.