Thread: Java 2 C# convertor

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    16

    Java 2 C# convertor

    I found it on MSDN site, if someone has tried it, is it capable of converting Java code with all J2SE classes?

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    16
    Just downloaded and tried it, it was able to convert helloworld, nothing more!
    I tried to convert multi-threaded programs, but no luck, I also tried to convert a class with a complicated design (inner classes and the like), but no luck either.
    I used the java.util.ArrayList class in a simple program, and tried to convert it to C#, but the convertor failed even that C# has a similar class (System.Collections.ArrayList).
    So download this tool only if you need to convert a helloworld program.

  3. #3
    Registered User Esss's Avatar
    Join Date
    Aug 2001
    Posts
    133
    Or, alternatively, you could use J#, which plugs into VS and allows you to compile Java natively.

    Microsoft only has a license for v1.1.4 of Java, so that's the latest version you'll see in any Microsoft tool.
    Ess
    Like a rat in a maze who says,
    "Watch me choose my own direction"
    Are you under the illusion
    The path is winding your way?
    - Rush

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mats, the java answers
    By Jaqui in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 04-22-2008, 02:12 AM
  2. C#, Java, C++
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 10-05-2004, 02:06 PM
  3. The Java language is being expanded
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 06-11-2004, 09:07 PM
  4. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 12:37 AM
  5. How to use Java with C++
    By Arrow Mk 84 in forum C++ Programming
    Replies: 2
    Last Post: 02-27-2003, 04:12 PM