Tool to convert java to c# code

JavaC#Code Translation

Java Problem Overview


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.

Java Solutions


Solution 1 - Java

For your reference:

  • Sharpen by db4o
  • [XES][3]
  • [RemoteSoft Octopus][4] (commercial)

Note: I had no experience on them.

[3]: http://www.euclideanspace.com/software/language/xes/userGuide/convert/javaToCSharp/index.htm "XES - User Guide - Converting Java Source code to C#" [4]: http://www.remotesoft.com/octopus/

Solution 2 - Java

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

Solution 3 - Java

I've had good results with this one. Much easier to use than Sharpen.

http://tangiblesoftwaresolutions.com/Product_Details/Java_to_CSharp_Converter.html

Solution 4 - Java

Microsoft has a tool called JLCA: Java Language Conversion Assistant. I can't tell if it is better though, as I have never compared the two.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionseanView Question on Stackoverflow
Solution 1 - JavaHendy IrawanView Answer on Stackoverflow
Solution 2 - JavaBenView Answer on Stackoverflow
Solution 3 - JavamarknuzzView Answer on Stackoverflow
Solution 4 - JavaRazzieView Answer on Stackoverflow