[Mono-devel-list] Java and Mono
lluis at ximian.com
Fri Jun 3 05:00:54 EDT 2005
> Hi all !
> I continue my trip in the Mono's land, and now, I try to
> compile a Java program with ikvmc to obtain a ".exe" file wich I want to
> run over Mono.
> But it doesn't work...
> 1 ) javac test.java
> 2 ) ikvmc test.class -r:IKVM.GNU.Classpath.dll (the dll is in the
> current rep)
> 3 ) mono test.exe
> ** (test.exe:31690): WARNING **: The following assembly referenced from
> /cea/dsku/store/home1/gpocre/brunet/TEST/test.exe could not be loaded:
> Assembly: IKVM.Runtime (assemblyref_index=0)
> Version: 0.14.0.1
> Public Key: 13235d27fcbfff58
> The assembly was not found in the Global Assembly Cache, a path listed
> in the MONO_PATH environment variable, or in the location of the
> executing assembly (/cea/dsku/store/home1/gpocre/brunet/TEST/).
> It seems like Mono coulldn't find IKVM.GNU.Classpath.dll...
If you read the error message you'll realize that the assembly not found
is IKVM.Runtime, and that you need to add it to the Global Assembly
Cache (by running gacutil -i IKVM.Runtime.dll).
> Thanks for reply
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list