简体   繁体   中英

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

I have program 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM