Success, but not by compiling the jar into object code file but all the java sources indepentendly into o files and link them into the executable, using Eclipse and GCJ Builder. Everything works perfectly, except for the executable size which is about 8 MB (which I find reasonable though). Anyway, thanks for your help! Spyros "Foucault" Stathopoulos