[Mono-devel-list] ikvmstub question
Rogerio Pereira
rogerio.araujo at gmail.com
Sat Jan 15 11:48:16 EST 2005
When i try to run an application that uses ikvmstub generated packages
under JRE 1.4.2 i got the follow error:
java -cp .:gtk-sharp.jar:mscorlib.jar:glib-sharp.jar:atk-sharp.jar test
Exception in thread "main" java.lang.UnsatisfiedLinkError: Init
at cli.Gtk.Application.Init(Native Method)
at test.main(teste.java:6)
Here's the code:
import cli.Gtk.*;
import cli.GLib.*;
public class teste {
public static void main(String[] args) {
Application.Init ();
Window w = new Window ("Hello Mono with Java#");
Button b = new Button ("Click me");
w.Add (b);
w.ShowAll ();
Application.Run ();
}
}
--
Rogério Pereira Araújo
Programador / Pesquisador
Departamento de desenvolvimento - Divisão de pesquisa tecnológica
C&S Computadores e Sistemas Ltda.
www.cisnet.com.br
More information about the Mono-devel-list
mailing list