Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31261

Re: How do you set java to read properties in relative path ?

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 <nmw@ion.le.ac.uk>
Newsgroups comp.lang.java.programmer
Subject Re: How do you set java to read properties in relative path ?
Date Mon, 02 Mar 2015 13:07:32 +0000
Lines 12
Message-ID <clj5kkF5jecU1@mid.individual.net> (permalink)
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 Zw98ATZmq0cGSje+A7vnDQjD9Sv3Z3gG1hMnQLWmlUlB9zyOyY
Cancel-Lock sha1:tYHmiRxwGV1PMbTACwU/gOwZ5Ho=
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:31261

Show key headers only | View raw


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.
>

On the off chance that you mean "relative to the jar", rather than relative to your current location ( which is what a 
relative path is relative to), there was a thread about this a couple of weeks ago.

Search the archives for something to do with executable jars, and writing to files.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How do you set java to read properties in relative path ? Ajay Paul <ajaykpaul@gmail.com> - 2015-03-02 03:02 -0800
  Re: How do you set java to read properties in relative path ? Nigel Wade <nmw@ion.le.ac.uk> - 2015-03-02 12:39 +0000
  Re: How do you set java to read properties in relative path ? Nigel Wade <nmw@ion.le.ac.uk> - 2015-03-02 13:07 +0000
  Re: How do you set java to read properties in relative path ? Ajay Paul <ajaykpaul@gmail.com> - 2015-03-02 06:33 -0800
    Re: How do you set java to read properties in relative path ? Jeff Higgins <jeff@invalid.invalid> - 2015-03-02 10:57 -0500
  Re: How do you set java to read properties in relative path ? Robbie Brown <rob@example.com> - 2015-03-02 16:24 +0000

csiph-web