[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Urgent: has somebody printed simple text to a printer from a Pocket PC SWT application?

Thanks glenn for your response.
UnsatisfiedLinkError is thrown too, when a native method implementation
cannot be found in the loaded swt dll.
I tried your two options:
1)put the swt dll in the \Windows folder(it's the system folder for Windows
Mobile 2003)
2)add the VM option in the run Configuration:
"-Xbootclasspath/p:\Storage Card\immapp\swt.jar;\Storage
Card\immapp\WebServicesME.jar"    -Djava.library.path=\Windows
and
"-Xbootclasspath/p:\Storage Card\immapp\swt.jar;\Storage
Card\immapp\WebServicesME.jar"    "-Djava.library.path=\Windows"
and
"-Xbootclasspath/p:\Storage Card\immapp\swt.jar;\Storage
Card\immapp\WebServicesME.jar"
"-Djava.library.path=\Windows\swt-win32-3064.dll"
and
"-Xbootclasspath/p:\Storage Card\immapp\swt.jar;\Storage
Card\immapp\WebServicesME.jar"
"-Djava.library.path=\Windows\swt-win32-3064"

No way, the problem is still there. I receive the same error message.Then, i
think the print native methods implementation is missing in the swt dll.
Diego



"Glenn Marintes" <glenn.marintes@xxxxxxxxxxxxxxxxxxx> escribió en el mensaje
news:d85sjq$pmp$1@xxxxxxxxxxxxxxxxxxx
> Hi,
>
> I am not familiar with the Pocket PC but I might be
> able 2 give you some idea...
>
> The UnsatisfiedLinkError is thrown when the swt
> dlls cannot be found in java.library.path
> You can put the dlls on the system folder on your
> OS or better yet, put it in your lib dir and then
> add a VM option:
> -Djava.library.path=lib
> in your run configuration...
>
> Hope I gave you some idea...
>
> Gud luk..