Article View: borland.public.jbuilder.java.api
Article #739Re: Jar's path at the runtime
From: John McGrath TeamB
Date: Wed, 04 Dec 2002 18:28
Date: Wed, 04 Dec 2002 18:28
21 lines
1825 bytes
1825 bytes
On Wed, 4 Dec 2002 13:45:04 +0300, Alexei Akimov wrote:
> Let we have a java application packed into jar file or native
> executable (using JBuilder). Can the application determine
> jar or exe file path at the runtime? Is there an analogue of
> Win32 GetModuleName in java? When I work with Delphi I store
> ini (or properties) files in the same folder where the exe
> file is stored. I can not pack the properties files into jar
> as a resourse because the application needs change it while
> running (for example it saves there UI preferences).
http://www.visi.com/~gyles19/fom-serve/cache/391.html
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.185813587d3eb39098bb90@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!newspump.monmouth.com!newspeer.monmouth.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed.freenet.de!news1.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3deddcdc@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,734864463187f08 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-12-04 10:36:19 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.api Subject: Re: Jar's path at the runtime Date: Wed, 4 Dec 2002 13:28:43 -0500 Message-ID: <MPG.185813587d3eb39098bb90@newsgroups.borland.com> References: <3deddcdc@newsgroups.borland.com> X-Newsreader: MicroPlanet Gravity v2.60 NNTP-Posting-Host: 151.197.228.67 X-Trace: newsgroups.borland.com 1039026522 151.197.228.67 (4 Dec 2002 10:28:42 -0800) Lines: 21 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!newspump.monmouth.com!newspeer.monmouth.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed.freenet.de!news1.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail