Message-ID: <662618994.4567.1369459024196.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4566_2054248659.1369459024195" ------=_Part_4566_2054248659.1369459024195 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
You can use IKVM to access your boo assemblies from java or access ja= va classes from boo.
This example shows how to run booish from java:
This uses IKVM's IKVM.GNU.CLASSPATH.dll which wraps java's standard libr= aries:
This AWT example still needs some work. I don't think Java's Swing will = work with IKVM though. However, there is an open source clone of Swing call= ed SwingWT that will work with IKVM.
If you have a copy of Visual Studio .NET 2003 or 2005, you can install a= nd run the JLCA tool from Microsoft t= o convert java code to C# code. This will even do things like convert &quo= t;getWidth/setWidth" methods into properties, and convert java swing s= tuff into windows.forms code. It generates a report listing any specific i= ssues it had with the conversion, as well as including the same notes as co= mments in the generated files.
You can then use the online cod= e converter tool used by SharpDevelop to convert the generated C# code = into boo code. Comments are preserved throughout both the JLCA and SharpDe= velop conversions.
This may be a better option than IKVM for example if the java app uses j= ava swing (which IKVM cannot run), or if you want to convert the source so = that the application can be optimized for the .NET/Mono platform.------=_Part_4566_2054248659.1369459024195--