-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bruno Waes wrote:
>
> The identifyColorPages works when i run the toolbox. Now i want to
> integrate this code into my webapp.
> When i call
> System.loadLibrary("gsdll32");
> i get a
> java.lang.UnsatisfiedLinkError: no gsdll32 in java.library.path
>
> now i am a little confused, i am kinda new to these 'native' calls.
>
> my development environment is windows and my production env is linux, i
> have GS installed on both, because for now i call it through
> imagemagicks convert in an exec() method.
>
> i see in the LibLoader code there is a check for windows environment ...
> does this mean this solution wont work at all on linux, or are there
> specific libraries for linux?
>
> if (System.getProperty("os.name
> <http://os.name>").startsWith("Windows ")) {
> System.loadLibrary("gsdll32");
> }
>
>
> so basicly my questions are whether this is a windows only solution and
> if not, how do i add the libraries to the classpath?
The gsdll32 dll is only needed for Windows. For Linux, the javastub
shared library uses the GS library from /usr/lib directly.
So in order for it to work on Windows, you need to have the gsdll32.dll
and javastub.dll libraries in your path and on Linux, only
libjavastub.so is needed. The dll/src directory contains everything to
build the library on Linux.
Xavier
- --
Xavier Le Vourch
Brittany Software, Inc.
<[EMAIL PROTECTED]>
PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8 4115 0372 5805 896C 5947
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHZq6uA3JYBYlsWUcRAt5lAJ0efXrkmR6/a2UJiqK4f6bRe3lheQCcDcxM
vvbkXsIfrbrJ/ByexQ76rn8=
=ZFuq
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/