[postgis-devel] CLASSPATH problem

Markus Schaber schabios at logi-track.com
Tue Feb 22 04:40:30 PST 2005


Hi, Alex,

AFAIK, you can set the CLASSPATH environment variable from your debian
scripts before you call into our Makefiles.

So why don't you set CLASSPATH to one of:

/usr/share/java/postgresql.jar:/usr/share/kaffe/Klasses.jar

/usr/share/java/postgresql.jar:/usr/share/java/libgcj.jar
 /usr/share/java/postgresql.jar:/usr/share/sablevm-classpath/libclasspath.jar

/usr/share/java/postgresql.jar:/usr/share/sablevm/classlib.pth

or wherever the appropriate JRE library is for woody is. Which one to
use depends on which of the JRE libraries has correct JDBC implementation.

This should avoid all problems with -classpath or -addclasspath, because
 the Makefile constructs all classpathes based on $CLASSPATH.

IMHO, this is the way to go. CLASSPATH was invented in the java world
for just this purpose, to have a standard way to specify where the
needed java libraries can be found.

Does this solve your problems?

Markus
-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050222/2a0cd10d/attachment.sig>


More information about the postgis-devel mailing list