[MonoDevelop] Using IKVM (Java) with monodevelop - new wiki -

Uwe Fechner ufechner@sk28.de
Sat, 03 Jul 2004 10:14:09 +0200


John Luke schrieb:

>If you have the source there is instructions in
>MonoDevelop/docs/MdWithIkvm.txt,  I will try  to put it on
>monodevelop.com soon also.  Basically you need to run (foreach
>assembly you want to use with ikvm):
>ikvmstub mscorlib.dll
>
>and adjust the classpath in the project options to where the stub is,
>by default it looks for /usr/lib/mscorlib.jar:.
>  
>
Hello,

I followed your hints, and the java example works fine now with monodevelop.

I created a wiki page with an explanation, how to use ikvm with 
monodevelop on
gentoo linux.

http://www.kieltech.de/uweswiki/IkvmWithMonodevelop

You are invited, to add more content to this wiki (or this page).

Thanks for your good work:

Uwe Fechner

>Let me know if you have any more questions.  For those using ikvm with
>monodevelop I would love to hear suggestions on how to improve it and
>work like a java developer would expect.  I am currently considering
>compiling to assemblies with ikvmc instead of using the ikvm runtime. 
>Let me know if you prefer the other way.
>
>On Fri, 02 Jul 2004 19:45:10 +0200, Uwe Fechner <ufechner@sk28.de> wrote:
>  
>
>>Hello,
>>
>>I created the default IKVM console project.
>>
>>/*
>> * application.java
>> */
>>import cli.System.*;
>>
>>public class application {
>>    public static void main(java.lang.String[] args) {
>>        Console.WriteLine ("Hello, World!");
>>    }
>>}
>>
>>If I try to run it I get:
>>
>>[Type=Error, Description= error: Can't find default package
>>`cli.System'. Check the CLASSPATH environment variable and the access to
>>the archives]
>>
>>echo $CLASSPATH
>>/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:.
>>
>>Whicht package do I need in the classpath?
>>
>>I don't have a file cli.System.
>>
>>Where can I get it?
>>
>>Uwe Fechner
>>
>>_______________________________________________
>>Monodevelop-list mailing list
>>Monodevelop-list@lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>>    
>>