Skip to main content

Java.lang.Unsatisfied.LinkError (WinCE) ...

9 replies [Last post]
tophi13
Offline
Joined: 2009-02-25
Points: 0

Hi all,

After some (successfull) test of phoneme advanced on my Ipaq 314 (WinCE 5.0), I try to run gvSIG Mobile (http://www.gvsig.gva.es/index.php?id=gvsig-mobile&L=2) on my device.

I have a pb during dll loading at the app initialisation :
Java.lang.Unsatisfied.LinkError:\SDMMC\PHENEME\BIN\processes.dll
...
...

I put my dll in \SDMMC\PHENEME\BIN folder as I had pb with java.library.path.

Any help is welcome.

Christophe

Message was edited by: tophi13

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jldominguez
Offline
Joined: 2008-01-02
Points: 0

Hello, Christophe.

If you have started gvSIg Mobile with the EXE launcher, you can read the file:

\gvsig_mobile_exe_is_alive.txt

There is a llittle incoherence between the phoneME path and the path where the application 'believes' phoneme should be. You can change the name of the folder where phoneme is installed. Instead of:

\Program files\pMEA PP\bin\...
\Program files\pMEA PP\examples\...

it should be:

\phoneme\personal\bin\...
\phoneme\personal\examples\...

I am sorry. This is because phoneme recently changed its path and the application is not reading the register to find out where phoneme is.

Regards,
Juan Lucas

tophi13
Offline
Joined: 2009-02-25
Points: 0

Juan Lucas,

I manually installed Phoneme Advanced and gvSIG as the cab installer won't work on my device.

I put phoneme in : \SDMMC\phoneme
gvSIG in : \SDMMC\gvSIGMobile

Launch gvSIG using :
255#"\SDMMC\PHONEME\BIN\CVM.EXE" -f "\SDMMC\gvSIGMobile\phoneme.opt"

Where phoneme.opt is un option file containing :
-Djava.library.path="\SDMMC\gvSIGMobile\lib" -Xopt:useLargeMemoryArea=true -Xmx32m -Xbootclasspath/a:"\SDMMC\gvSIGMobile\boot\boot.jar" -cp "\SDMMC\gvSIGMobile\class\all.jar" es.prodevelop.gvsig.mobile.app.Launcher l=fr p="\SDMMC\gvSIGMobile"

I copied all dll from \SDMMC\gvSIGMobile\lib to \SDMMC\phoneme\bin (to be sure to have dll in the class path ).

But I have an the error messages.

Thanks for your help and sugestions.

Christophe

jldominguez
Offline
Joined: 2008-01-02
Points: 0

Hello,

Some people with Win CE 5.0 have successfully executed gvSIG Mobile on IBM J9. Do you have J9 to test it on your device? If it works, then it has to be some problem with the lib path. I can send the VM to you if you don't have it.

Regards,
Juan Lucas

tophi13
Offline
Joined: 2009-02-25
Points: 0

Juan Lucas,

I don't have the j9 jvm (don't found it) for WinCE. I'm ok to test it.

I will tell you if it's work with this jvm.

Thanks,

Christophe

tophi13
Offline
Joined: 2009-02-25
Points: 0

Juan Lucas,

I received your mail (many thanks).

I will try this evening and give you some news.

Concerning phoneme did you know if there is a pb with dll loading ?

@+

Christophe

jldominguez
Offline
Joined: 2008-01-02
Points: 0

Hello, Christophe.

Look at this screenshot:

https://correo.prodevelop.es/descarga/mobile/677310.png

That's an orthophoto in the ECW format opened with gvSIG Mobile, so we are using a third-party DLL (ECW) and another little DLL written by us (the one created for the JNI access). Besides, the screenshot itself was also created by gvSIG Mobile using another DLL written also by us to create PNG images.

So yes, DLLs work very well on phoneME ;-)

Thanks,
Juan Lucas

tophi13
Offline
Joined: 2009-02-25
Points: 0

Juan Lucas,

I sucessfully download your files.

I cannot put J9 and gvSIGMobile in the root directory : no enought memory :-(

I tried to launch the app using a link but have some mistake in the j9 options.

I made some progress with phoneme, the app seems to start but I have a black windows and no menu or icon. I cannot see error messages.

I delete " character in option file :
-Djava.library.path=\SDMMC\gvSIGMobile\lib -Xopt:useLargeMemoryArea=true -Xmx32m -Xbootclasspath/a:\SDMMC\gvSIGMobile\boot\boot.jar -cp \SDMMC\gvSIGMobile\class\all.jar es.prodevelop.gvsig.mobile.app.Launcher l=fr p=\SDMMC\gvSIGMobile

I will investigate more tomorrow as I don't work.

Good night

Christophe

tophi13
Offline
Joined: 2009-02-25
Points: 0

Juan Lucas,

I found !!!

process.dll have dll depency not present in my wince 5.0 version : note_prj.dll and coredll.dll (I found this dll on the net and now gvSIG work)

Phoneme is innocent :-)

I can try gvSIG now.

Thanks a lot for your help.

Christophe

jldominguez
Offline
Joined: 2008-01-02
Points: 0

Hello, great!

Indeed, the process.dll was compiled for Windows Mobile 2003, and it works also on Windows Mobile >= 5. We dont have a Windows CE 5.0 device in the office but I think someone told us that it also worked on them (perhaps not all Windows CE 5.0 are the same?). Can you please tell me where you got those DLLs? or can you send them to me, please? And where did you paste them? Perhaps they are useful for other people.

Thanks,
Juan Lucas