开发者

How to get J# to work with VS 2010 and .NET 4

开发者 https://www.devze.com 2023-01-08 17:06 出处:网络
I have p开发者_StackOverflow社区rogram in Java that I want to rewrite (GUI and some new features). I want to rewrite it in C# (mostly because of is easier to write GUI in it).

I have p开发者_StackOverflow社区rogram in Java that I want to rewrite (GUI and some new features). I want to rewrite it in C# (mostly because of is easier to write GUI in it).

As the core of the program is large and is working well, I have an idea to keep it in Java as the J# code and just write a GUI and new features.

J# was discontinued by Microsoft several years ago, but still covers main Java syntax and libraries that I'm using in programs core.

The problem is that J# is not supported by VS 2010 neither by .NET 4. Can somebody suggest a way how to make J# work with VS 2010 and .NET 4 ? As I have not much experiences with VS yet I would appreciate as many details as you can provide.

Thanks a lot


Very simple solution - Calling J# code from .NET 4.0

thanks - dave


You can compile a J# library in VS2005 and add a reference to the compiled DLL in a VS2010 C# project.

However, I'm pretty sure it's impossible to use J# directly in VS2010.

You may want to look into the Java Language Conversion Assistant.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号