Java Question Java 6 or 7?

tchart

Well-Known Member
Licensed User
Longtime User
Hi,

I'm trying to write a library. Im getting odd errors such as;

Caused by: java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java: findLibrary returned null

Im using the ADT Bundle (from Google) with Java 1.7.

Do I need Java 1.6? Several older threads suggest this is required but then other threads say 1.7 is now supported?

Thanks
 

tchart

Well-Known Member
Licensed User
Longtime User
Thanks Erel, I pieced together pieces of information from the forum and Google.

It was to do with the .so file (which I had to add to the project) but mainly the problem was that although the file was called libABC.so I only needed the "ABC" part in the loadlibrary command.

My library is now working. Thanks for the update about 1.7, Ill change my target version back to 1.7
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…