听说JNBridge会把C#代码翻译成原生Java代码(没测试过)
市场上是否有任何工具可以将 Java 代码转换为 native C#?(或者 JNBridge 是否也可以将 Java 代码转换为 C#?)
最佳答案
您是在谈论源代码转换器,还是在 CLR 中运行 Java 代码的能力?
如果是后者,你可能想看看IKVM :
IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. It includes the following components:
- A Java Virtual Machine implemented in .NET
- A .NET implementation of the Java class libraries
- Tools that enable Java and .NET interoperability
关于c# - Java 到 C# 转换器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1251318/