# Monday, 03 March 2003
« Undefined behavio[u]r | Main | Welcome on the other side »
Hello Mono (2)
C:\>mono --noinline --share-code c:\ikvm\bin\ikvm.exe hello
** Warning **: cannot find C:\cygwin\home\lalo\go-mono\install\
Trying to load app config file...
Hello World

The latest ikvm binaries together with Mono 0.21 now run Hello World!

Many thanks to everyone at Ximian, the Mono contributors and especially Zoltan Varga!

The --noinline and --share-code options are needed to work around a bug in the current Mono JIT that cause it to call the class constructors to eagerly.

I've updated the source and binaries snapshots.

Monday, 03 March 2003 11:57:22 (W. Europe Standard Time, UTC+01:00)  #    Comments [2]
Monday, 03 March 2003 16:34:53 (W. Europe Standard Time, UTC+01:00)

Ohhhhh. It actually works....
(Debian GNU/Linux x86 unstable)

os.version: 5.1.2600.0
java.vm.version: 1.0.1157.20889
Grin. Say what...

gnu.classpath.home.url: ikvmres:classpath, Version=, Culture=neutral, PublicKeyToken=null:lib
Ugh. Much to learn about this new beast.

BTW the following just gives:
Exception in thread "main" java.lang.NullPointerException
at Throw.main(<unknown>)

public class Throw {
public static void main(String[] args) {
try {
} catch(Exception e) {

static void m1() throws Exception {
try {
} catch(Exception e) {
throw new Exception(e.toString());

static void m2() throws Exception {
try {
throw new Exception("Honk! Honk!");
} catch(Exception e) {
throw new Exception(e.toString());

Must get sleep now...

Tuesday, 04 March 2003 01:18:04 (W. Europe Standard Time, UTC+01:00)

When I run that with Mono 0.21, I get a Mono error: file class.c: line 1348 (mono_class_from_mono_type); should not be reached

On .NET it runs fine though.

Home page

I apologize for the lameness of this, but the comment spam was driving me nuts. In order to be able to post a comment, you need to answer a simple question. Hopefully this question is easy enough not to annoy serious commenters, but hard enough to keep the spammers away.

Anti-Spam Question: What method on java.lang.System returns an object's original hashcode (i.e. the one that would be returned by java.lang.Object.hashCode() if it wasn't overridden)? (case is significant)

Comment (HTML not allowed)  

Live Comment Preview