Is it possible to compile C++ code to Java bytecode?
It seems possible through nestedVM, has anyone ever tried it? I have checked out the code from nestedVM to discover that it only builds with gcc 3.3.6 and I have gcc 4.1 on my machine,
My goal is to effortless translate c++ code to Java Byte code. There is a tool (commercial) called Tangible that is supposed to convert C++ code to Java code. It, however, does not work perfectly.
Hence, I was thinking that if I could translate the C++ code to JavaByte code I would fix my situation.
Is there a way that GCJ or GCC can be used to do the job? Seems that the folks who created nestedVM figure that compiling the C++ code to the MIPS architecture would be the way to go to convert that into Java bytecode that is 100% java compatible.
Any thoughts on how to fix that?