- 1

C to Java Converter

Does anyone know a good C to Java converter? I have a code that I have to convert but I can't seem to find one that works properly.

20th Mar 2020, 4:42 PM
Arieana
Arieana - avatar
5 odpowiedzi
+ 4
If you type the title of your question in google: https://www.mtsystems.com/#section2 This is called transpilation. Many tools are available if you care to search. #LMGTFY
20th Mar 2020, 5:13 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 2
I just found this thread https://www.sololearn.com/Discuss/2124074/?ref=app So I also think that there does not exist an easy solution.
20th Mar 2020, 5:20 PM
Denise Roßberg
Denise Roßberg - avatar
+ 2
There are also other possible approaches to this question. You can invoke a C program from Java code via JNI (Java Native Interface) https://developer.ibm.com/technologies/java/tutorials/j-jni/ And there is also GraalVM, a new polyglot virtual machine that enables interaction between a variery of programming languages https://www.graalvm.org/docs/reference-manual/languages/llvm/
20th Mar 2020, 7:51 PM
Tibor Santa
Tibor Santa - avatar