[postgis-users] where's the postgis.jar i compiled?
TECHER Jean David
davidtecher at yahoo.fr
Wed Aug 25 01:54:05 PDT 2004
Hi
I compiled PostGIS from CVS of 17 August 2004...
Actually you need to do
make jar
in order to have postgis.jar
and you need the jdbc driver depending on the version you use for postgresql
7.1,7.1, 7.3 and so on....
if you want: here is what I do on Windows (using MinGW) but I don't know if
it could be a great help for you
I have
- PostgreSQL 800 beta 1 (cvs from 17 august 2004)
- PostGIS f( cvs from 17 august 2004)
- java 1.4_204 installed in (C:\j2sdk1.4.2_04 path Windows for my java)
All you have to do is to make the changes that you need
I. Java Version
For the java version you have just do
java -version
II Download the JDBC PostgreSQL Driver
Depending on your postgresql version
I downloaded pg74.215.jdbc3.jar from
http://jdbc.postgresql.org/download.html (see in this page the driver jdbc
you need)
I put it in postgis/jdbc
III. Compilation and installation
In the makefile (postgis/jdbc/Makefile), I did the changes
JAVAC = /c/j2sdk1.4.2_04/bin/javac
JAVA = /c/j2sdk1.4.2_04/bin/java
JAR = /c/j2sdk1.4.2_04/bin/jar
CLASSPATH = ./pg74.215.jdbc3.jar:.
then I do
make
and for the postgis.jar
I did
make jar
TECHER JEAN DAVID
- Responsable Informatique 01MAP -
e-mail:davidtecher at yahoo.fr
Tel: 06 85 37 36 75
Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm
> -----Message d'origine-----
> De : postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]De la part de
> Michael Mallete
> Envoye : mercredi 25 aout 2004 07:21
> A : postgis-users at postgis.refractions.net
> Objet : [postgis-users] where's the postgis.jar i compiled?
>
>
> hello mr. david! thank you for your response.
>
> anyway, i already did steps 1 and 2. then in step 3,
> after doing "make," i should be copying the
> postgis.jar to my java libraries. the problem is, i
> can't find where postgis.jar is. where is it?
>
>
> thank you so much again for your time. :)
>
> -Myk
>
> >Hi
> >
> >see
> >
> >http://postgis.refractions.net/docs/x183.html
>
>
>
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> http://promotions.yahoo.com/goldrush
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
More information about the postgis-users
mailing list