[Pljava-dev] Help install on Windows

Thomas Hallgren thhal at mailblocks.com
Sun Mar 6 09:11:22 UTC 2005


Stanislaw,

>Windows XP Professional + PostgreSQL 8.0.1
>I can't understand how to install the PlJava. UserGuide is not
>understandable for me :(
>  
>
The userguide doesn't say much about how you get started. Take a look 
here instead (this link is avaiable as "release notes" on the front page):

http://gborg.postgresql.org/project/pljava/genpage.php?readme

In short, on Windows with PostgreSQL 8.0.1 you should do the following:

1. Get the binary distribution of PL/Java for your platform. Unzip it 
into a directory of your own choice.

2. Edit the postgresql.conf in your database directory. Set the 
following options
    (substitute <pljava installation> for the directory where you 
installed PL/Java):
      dynamic_library_path = '$libdir:<pljava installation>'
      custom_variable_classes = 'pljava'
      pljava.classpath = <pljava installation>/pljava.jar

3. Install a Java Runtime (or Development Kit) if you have not done that 
already.

4. Set the path that the postmaster.exe will use so that it contains
    the location of your JRE binaries, i.e.|
   set PATH=%PATH%;<jre installation>/bin;<jre installation>/bin/client|.

Note that if you're using a development kit, the <jre installation> will 
be under the directory named "jre"

Now you're all set to go.

A better install instruction is on its way. Don't hesitate to convey if 
you have suggestions on its contents.

Kind regards,
Thomas Hallgren





More information about the Pljava-dev mailing list