Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nigel Wade Newsgroups: comp.lang.java.programmer Subject: Re: How do you set java to read properties in relative path ? Date: Mon, 02 Mar 2015 12:39:07 +0000 Lines: 11 Message-ID: References: <3044c107-8eec-4c22-8954-83f1fce6bc6e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net NVhgBKvu9w5TltzepTsaZAGt4VcM+2U4b57k6sswTgAPW7jvi1 Cancel-Lock: sha1:Q9qTshDopB9tfYJNNISjDZrJhVU= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: <3044c107-8eec-4c22-8954-83f1fce6bc6e@googlegroups.com> Xref: csiph.com comp.lang.java.programmer:31260 On 02/03/15 11:02, Ajay Paul wrote: > How do you set java to read properties in relative path in local file system. > > I can do it absolute path but not in relative path. > There should be no difference between using a relative path and an absolute path, other than the obvious one. Presumably your relative path is incorrect, or inaccessible for some other reason. Without more information there really isn't much more help we can offer.