Convert C# to Java (and viceversa)

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi,

Does anyone know of reliable programs that convert C# to Java and viceversa?

Thanks
Mike
 
Mike,

I don't believe it is possible. Given that Java and C# use different
underlying class libraries (for which there is not always a one-to-one
relationship to), it would be very difficult, to say the least.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)


Hi,

Does anyone know of reliable programs that convert C# to Java and viceversa?

Thanks
Mike
 
Mike,

Microsoft has the Java Language Conversion Assistant (JLCA) that enables
developers to migrate their existing Java code to C# on the .NET Framework.
It can be found at:
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?ur
l=/msdn-files/027/001/867/msdncompositedoc.xml. The JCLA is about a 8MB
download.
More information concerning this effort can be found at:
http://msdn.microsoft.com/visualj/jump/default.asp.

However, the reverse, a C# to Java is not yet here but I found an attempt.
Please view the Power Point presentation at:
http://www.cit.co.cr/Presentations/DonHsi.ppt#300,20,Security, it describes
a Java implementation of the .Net Framework in which both VB.Net and C# may
be converted to Java. It has a host of supportingURLs
--------------------
From: "Mike" <[email protected]>
Subject: Convert C# to Java (and viceversa)
Date: Tue, 1 Jun 2004 00:00:45 +0200
Lines: 46
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_000E_01C4476B.7D249A00"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132
Message-ID: <#[email protected]>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: 193.80.202.62.cust.bluewin.ch 62.202.80.193
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09
..phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.csharp:248136
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hi,
Does anyone know of reliable programs that convert C# to Java and viceversa?
Thanks
Mike

Cheers,

johnKn [MS-SDK]



-Please do not send email directly to this alias. This alias is for
newsgroup purposes only



-This posting is provided “AS IS” with no warranties, and confers no rights.



-To provide additional feedback about your community experience please send
e-mail to: (e-mail address removed)
 
Back
Top