Re: Postgres registry access using java

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Anirban Pal *EXTERN*" <anirban(dot)pal(at)newgen(dot)co(dot)in>, <pgsql-novice(at)postgresql(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres registry access using java
Date: 2009-05-28 08:48:18
Message-ID: D960CB61B694CF459DCFB4B0128514C202FF6609@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Anirban Pal wrote:
> Can any body tell me how to fetch directory path for lib or
> data directory for postgres installation in windows using
> registry. Solution using Java language will be highly solicited.

Java does not give you access to the Windows registry as this is not
portable to other operating systems.

You'd have to use native methods.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anirban Pal 2009-05-28 09:33:23 Re: Postgres registry access using java
Previous Message Richard Huxton 2009-05-28 08:23:57 Re: How to speed up the first-time-searching in pgsql?

Browse pgsql-novice by date

  From Date Subject
Next Message Anirban Pal 2009-05-28 09:33:23 Re: Postgres registry access using java
Previous Message Anirban Pal 2009-05-28 06:12:31 Re: Postgres registry access using java