🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #208

Re: retrieving standard program path from Windows

#208
From: Lori M Olson [TeamB]
Date: Thu, 09 Jun 2005 22:18
39 lines
2008 bytes
Oliver wrote:
> Hello,
> 
> ok, many thanks.
> 
> 
>> Note that System.getenv() was deprecated from JDK 1.1 to JDK 1.4,
>> >resurfacing in JDK 1.5.
> 
> 
> Ok, now i have one question still: i have another (similar) project
> in JDK 1.4. Is there another possibility in 1.4 to retrieve the
> ProgramFiles Dir?
> 
> regards
> 
> Oliver
> 

Not without the use of JNI.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID: <42a8c04b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42a6f2ac$1@newsgroups.borland.com> <42a794b6$1@newsgroups.borland.com> <42a7a445$1@newsgroups.borland.com> <42a7fa07$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,b523e2611fbd7782
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 09 Jun 2005 16:18:54 -0600
From: "Lori M Olson [TeamB]" <javadragon@techie.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: retrieving standard program path from Windows
References: <42a6f2ac$1@newsgroups.borland.com> <42a794b6$1@newsgroups.borland.com> <42a7a445$1@newsgroups.borland.com> <42a7fa07$1@newsgroups.borland.com>
In-Reply-To: <42a7fa07$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 142.179.181.200
Message-ID: <42a8c04b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1118355531 142.179.181.200 (9 Jun 2005 15:18:51 -0700)
Lines: 39
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail