[Mono-list] how to compile a java
George Birbilis
birbilis@kagi.com
Wed, 6 Oct 2004 21:22:59 +0300
>If you use the ikvmc (ikvm compiler) you can compile a java class file into
>a .net binary, however I don't think there is a way to compile a java file
>directly, which I am taking from the ikvm site:
>http://www.ikvm.net/devguide/java2net.html. From what I understand ikvm is
>just a byte code converter/ translator and does not actually generate byte
code
>from source files. Hope that helps.
try JLCA (Java Language Convertion Assistant), free from MS
it will convert Java code to C#, using only .NET standard libraries (no
extra MS libraries)
won't convert yet all stuff (sometimes there's no direct equivalent from a
Java feature to .NET), but it's latest version even converts RMI stuff I've
heard
then use that C# source code and compile either with MS C# compiler or with
mono's
if you use .NET on Windows, play with the J# compiler instead (that one
needs some extra libraries to be installed, but future .NET runtime versions
will include the J# libraries too). I'm not sure if J# runtime libraries
would work if copied to mono, I even dought it's legal too, but for your own
home projects you could try doing it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis@kagi.com> [Microsoft MVP J#]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
........................................................................