Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31265
| From | Robbie Brown <rob@example.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How do you set java to read properties in relative path ? |
| Date | 2015-03-02 16:24 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <md22qb$1vp$1@dont-email.me> (permalink) |
| References | <3044c107-8eec-4c22-8954-83f1fce6bc6e@googlegroups.com> |
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. > Put the properties file in the same directory as the root of your binary(compiled) class hierarchy, by default, in Kepler it's bin. So, in Navigator view you would have myproject myproject/bin myproject/bin/props.properties myproject/bin/com myprojecy/bin/com/mycompany ...etc works for me -- Not floundering ... just fishing
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll 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