From: thhal at mailblocks.com (Thomas Hallgren) Date: Sun, 06 Mar 2005 10:11:22 +0100 Subject: [Pljava-dev] Help install on Windows In-Reply-To: <200503060358.j263wiZQ027280@alfar.kiev.ua> References: <200503060358.j263wiZQ027280@alfar.kiev.ua> <422AC93A.90904@mailblocks.com> Message-ID: 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 for the directory where you installed PL/Java): dynamic_library_path = '$libdir:' custom_variable_classes = 'pljava' pljava.classpath = /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%;/bin;/bin/client|. Note that if you're using a development kit, the 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