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 ?

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 2015-03-02 13:07 +0000
Message-ID <clj5kkF5jecU1@mid.individual.net> (permalink)
References <3044c107-8eec-4c22-8954-83f1fce6bc6e@googlegroups.com>

Show all headers | 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