Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool to convert java to c# code [closed]

What is the best tool out there at the moment to convert java to c#? Apart from

  • j2ctranslator
  • j#

I use IKVM at the moment.

like image 869
sean Avatar asked May 22 '09 08:05

sean


People also ask

Can you convert Java to C?

Yes, there's a Java to C source converter: a human programmer. (Reliability may be an issue, though.) If you really want to compile Java to C, you might try compiling Java to machine code with GCJ, then disassembling the machine code, then (somehow?) converting the assembly code to C.

Can we convert Java to C++?

Java to C++ Converter converts only some Java library types to C++ equivalents. The converter offers options to use your own custom replacements. Java to C++ Converter cannot ensure proper deallocation of pointer variables.

How do I convert one programming language to another?

Compilers convert one programming language into another. Usually, compilers are used to convert code so the machine can understand it. If we want it to be human-readable, we need a subset of compilers called transpilers. Transpilers also convert code however the output is generally understandable by a human.


2 Answers

For your reference:

  • Sharpen by db4o
  • XES
  • RemoteSoft Octopus (commercial)

Note: I had no experience on them.

like image 113
Hendy Irawan Avatar answered Oct 12 '22 04:10

Hendy Irawan


Don't. Leave them as Java and use IKVM to convert them to .Net DLLs.

  • http://www.ikvm.net/devguide/java2net.html
  • http://sourceforge.net/apps/mediawiki/ikvm/index.php?title=Ikvmc
like image 32
Ben Avatar answered Oct 12 '22 04:10

Ben