🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15337

Reading Environment Variable

#15337
From: Carole Masset
Date: Fri, 18 Jun 1999 00:00
11 lines
727 bytes
Hello,

I have not found a way to read an environment variable from java using JDK
1.1.6. Can anybody help?

I am aware of System.getEnv but it is a deprecated API so I am currently
trying using System.getProperty but I always get null.

Thanks

Carole M.
Technical Details
Message-ID: <7kdnok$rs73@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a908ab2ace659fb1,start
X-Google-Attributes: gidf74b3,public
From: "Carole Masset" <carole.masset@plx.co.uk>
Subject: Reading Environment Variable
Date: 1999/06/18
Message-ID: <7kdnok$rs73@forums.borland.com>
X-Deja-AN: 491093420
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3