Article View: borland.public.jbuilder.java.language
Article #15954Re: Setting an environment variable.
From: Paul Franks (TeamB)
Date: Tue, 20 Apr 1999 00:00
Date: Tue, 20 Apr 1999 00:00
14 lines
939 bytes
939 bytes
dillan@geocities.com says... // Does anyone know how // to set an environment variable from java. // The Java API doesn't let you access traditional OS level environment variables. EV implementation is system dependent so it doesn't meet the cross-platform concept, but you might be able to do something with JNI native methods (on a Windows system that would mean calling a DLL or something) but you would have to create a different package for each potential system. -- pf
Technical Details
Message-ID:
<MPG.1185eb47bd9bd23b989b9f@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7fg0if$sui5@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,eefa9495f4fba7ad X-Google-Attributes: gidf74b3,public From: supportinfo@inprise.com (Paul Franks (TeamB)) Subject: Re: Setting an environment variable. Date: 1999/04/20 Message-ID: <MPG.1185eb47bd9bd23b989b9f@forums.inprise.com> X-Deja-AN: 468551616 References: <7fg0if$sui5@forums.borland.com> Organization: TeamB Newsgroups: borland.public.jbuilder.java.language