Article View: borland.public.jbuilder.java.api
Article #880Re: How to get a file path?
From: Nabin Thomas
Date: Thu, 18 Jul 2002 16:31
Date: Thu, 18 Jul 2002 16:31
12 lines
1358 bytes
1358 bytes
I guess what u need is System.getProperty("java.class.path");
"Alex Terehoff" <aterehoff@hotmail.com> wrote in message
news:3d2a44c6_1@dnews...
> Can anybody sugest how to get a path to the directory in which an
> application jar or java class with Main() method is (application working
> directory)?
>
> Alex
>
>
Technical Details
Message-ID:
<3d383616_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!oleane.net!oleane!isdnet!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnewsReferences:
<3d2a44c6_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,d0d13928dad34149 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-07-19 09:06:23 PST Reply-To: "Nabin Thomas" <REPLY TO GROUP ONLY> From: "Nabin Thomas" <May add to messenger as nabinthomas@hotmail.com> Newsgroups: borland.public.jbuilder.java.api References: <3d2a44c6_1@dnews> Subject: Re: How to get a file path? Date: Thu, 18 Jul 2002 22:01:35 +0530 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 202.9.167.63 Message-ID: <3d383616_2@dnews> X-Trace: dnews 1027094038 202.9.167.63 (19 Jul 2002 08:53:58 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!oleane.net!oleane!isdnet!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews