[Sablevm-developer] Re: UnsatisfiedLinkError help
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2003-01-22 14:59:32
|
Hi! Sorry for late response. Thanks for choosing free-java-sdk to do your work! Now - about your problem w/ SableVM: Unfortunatelly getMethods is not yet implemented. It also keeps things like ant from building properly, so there's hope that it'll be fixed in not too distant future. I must say I tried to look into this problem some time ago, but I didn't go beyond looking at documentation and adding empty stub. The description of needed functionality is here: http://java.sun.com/j2se/1.3/docs/api/java/lang/Class.html#getMethods() I am thus Cc:ing SableVM-devel ML - maybe someone could pick this problem up? Cheers, Grzegorz B. Prokopski W li=B6cie z pon, 20-01-2003, godz. 17:09, Ben Burns pisze:=20 > Hello Grzegorz, >=20 > Firstly, thank you for your effort in putting together the free-java-sdk = =20 > package. I am a Java developer, but would like my code to ebe ligible fo= r=20 > inclusion in debian main, obviously your package is the path I should tak= e to=20 > get there. >=20 > As part of my latest work, I have devloped a small component based framew= ork=20 > for Java applications that I call jconfig. It uses property files to loa= d=20 > and initialise java beans, and uses the the Class.getMethods() method to=20 > determine which method to call to set property values. This works fine w= ith=20 > Sun's JDK, but I get the following error running it with sablevm: >=20 > *** Couldn't bind native method Java_java_lang_Class_getMethods *** > *** or Java_java_lang_Class_getMethods__ *** > java.lang.UnsatisfiedLinkError > at java.lang.Class.getMethods(Class.java) > at jconfig.Nucleus.initialiseComponent(Nucleus.java:148) > at jconfig.Nucleus.resolveComponentFromPropertiesFile(Nucleus.java:58) > at jconfig.Nucleus.resolveComponent(Nucleus.java:34) > at jconfig.Nucleus.loadInitialServices(Nucleus.java:273) > at jconfig.Nucleus.main(Nucleus.java:312) > at java.lang.VirtualMachine.invokeMain(VirtualMachine.java) > at java.lang.VirtualMachine.main(VirtualMachine.java:88) >=20 > I ran #nm -dynamic libjava-lang.so, in /usr/lib/sablevm, where I expected= to=20 > find Java_lang_Class_getMethods, but it is not defined there. I'm a bit=20 > surprised that this doesn't work. >=20 > I''m not sure you are the right person to contact for this problem, but=20 > thought you could point me in the right direction. I also thought that y= ou=20 > might be interested in the problem anyway. Where would be the best place= to=20 > log a bug? If you want please let me know where I should start if I hav= e to=20 > code anything (I believe the code must already exist though). >=20 > If you want a copy of my code, please ask. >=20 > Thanks again, > Regards, > Ben --=20 Grzegorz B. Prokopski <ga...@de...> Debian http://www.debian.org/ |