Article View: borland.public.jbuilder.java.api
Article #2541Re: how to get a properties from the environment
From: Eric Hodges
Date: Wed, 18 Oct 2000 00:00
Date: Wed, 18 Oct 2000 00:00
22 lines
1159 bytes
1159 bytes
Simple answer: You can't. Sun removed this feature a few releases ago. You can pass in properties with the "-D" parameter to the VM on the command line, though. "sky field" <skyfield@gmx.de> wrote in message news:39edbb05_2@dnews... > hi, > I would like to know how to get properties from the environment, like > JAVA_HOME=... > I tried to use: String getProperty(String key) > > > but it doesn't work. > > thanks for your help in advance1 > Min > Pls. mailto:skyfield@gmx.de > > > > >
Technical Details
Message-ID:
<39edc22e$1_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39edbb05_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,3b8c76d4e167cebf X-Google-Attributes: gid1089d0,public X-Google-Thread: f74b3,3b8c76d4e167cebf X-Google-Attributes: gidf74b3,public From: "Eric Hodges" <harmony2@swbell.net> Subject: Re: how to get a properties from the environment Date: 2000/10/18 Message-ID: <39edc22e$1_1@dnews> X-Deja-AN: 682932143 References: <39edbb05_2@dnews> X-Trace: 18 Oct 2000 08:30:54 -0800, 216.60.111.107 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400