Article View: borland.public.jbuilder.java.language
Article #16085Re: Application path
From: Alexis Rios
Date: Mon, 05 Apr 1999 00:00
Date: Mon, 05 Apr 1999 00:00
20 lines
1105 bytes
1105 bytes
getCodeBase() I think will do it Rima Parikh <parikh@cognicity.com> wrote in message news:37090676.0@209.66.99.126... > > Hi : > > How do I determine what path my java main application class is loaded from. "user.dir" is the current working directory, but if the actual jar or class file is loaded from some other directory, how can I determine that directory inside the program? > > TIA, > Rima Parikh. > > > > -----------------** -- Posted from CodeGuru -- **----------------- > http://www.codeguru.com/java The website for Java programmers. > >
Technical Details
Message-ID:
<7eb9bb$osk5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37090676.0@209.66.99.126>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,23e949b6e1b09783 X-Google-Attributes: gidf74b3,public From: "Alexis Rios" <alexr@coqui.net> Subject: Re: Application path Date: 1999/04/05 Message-ID: <7eb9bb$osk5@forums.borland.com> X-Deja-AN: 463005048 References: <37090676.0@209.66.99.126> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Home PC X-MSMail-Priority: Normal Reply-To: "Alexis Rios" <alexr@coqui.net> Newsgroups: borland.public.jbuilder.java.language