Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » C-Sharp » C# to Java? Java 6?
C# to Java? Java 6? [message #468667] Fri, 25 July 2008 12:54 Go to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
Hi,

I was wondering if there were any plans to create a translator to convert
C# code into Java code?

Also, what is the rationale behind the Java 6 requirement? From what I
understand, you can't run Eclipse with a Java 6 VM on the Mac because of
the business with Carbon and Cocoa. I imagine you can still set JDT up to
use Java 6 to compile your own Java projects but launching Eclipse with a
Java 6 VM is out of the question. Java 6 is also currently only available
on Intel 64-bit Macs that are running Leopard. There are still plenty of
Mac users that are on older hardware (or on Tiger).

Thanks,
Rem
Re: C# to Java? Java 6? [message #468675 is a reply to message #468667] Sat, 26 July 2008 17:22 Go to previous messageGo to next message
Alexandre FAU is currently offline Alexandre FAUFriend
Messages: 17
Registered: July 2009
Junior Member
Hello,

> I was wondering if there were any plans to create a
> translator to convert C# code into Java code?
Not yet. To do this I need an equivalent for C# to the JDT + refactoring
capability.

> Also, what is the rationale behind the Java 6 requirement?
It's just because the "mapping files" needed by the translator reflect the
version of the JDK use by Eclipse.
If I want to provide a JDK5 version I need to provide the corresponding
mapping files.

Thank for your interest.

Alexandre.
Re: C# to Java? Java 6? [message #564988 is a reply to message #468667] Sat, 26 July 2008 17:22 Go to previous messageGo to next message
Alex FAU is currently offline Alex FAUFriend
Messages: 15
Registered: May 2010
Junior Member
Hello,

> I was wondering if there were any plans to create a
> translator to convert C# code into Java code?
Not yet. To do this I need an equivalent for C# to the JDT + refactoring
capability.

> Also, what is the rationale behind the Java 6 requirement?
It's just because the "mapping files" needed by the translator reflect the
version of the JDK use by Eclipse.
If I want to provide a JDK5 version I need to provide the corresponding
mapping files.

Thank for your interest.

Alexandre.
Re: C# to Java? Java 6? [message #872410 is a reply to message #468667] Wed, 16 May 2012 04:19 Go to previous message
zarfishan zahid is currently offline zarfishan zahidFriend
Messages: 1
Registered: May 2012
Junior Member
There is a tool available here codeporting dot com . Its free and cloud based app so there is no need to install or download it just submit your code and it will convert it into java code instantly.
Previous Topic:The Java 2 CSharp proposal has been terminated due to a lack of interest
Next Topic:Forum Closure
Goto Forum:
  


Current Time: Thu Mar 28 19:17:38 GMT 2024

Powered by FUDForum. Page generated in 0.02338 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top