🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #720

Re: Processor & OS query

#720
From: Tim Cross
Date: Fri, 26 May 2000 00:00
26 lines
1358 bytes
You can usually get this sort o finformation from the system
properties list. See java.util.Properties class and the
System.getProperties() method.

Tim
"max" <tkuskopf@eisa.net.au> writes:

> I need to find out what processor and what operating system that my
> java application was started under, so the questions are:-
> 
> 1. How can I query the system processor in java?
> 
> 2. How to find out what OS the application was started under?
> 
> Many thanks for any comments or locations to source code examples.
> 
> max
> 
> 

-- 
Tim Cross
NorthNet Internet Services
mailto:tcross@northnet.com.au
phone:+61 2 6772 5973
Technical Details
Message-ID: <m38zwxetpi.fsf@tim.northnet.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8gjna4$9jk$1@news.eisa.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,4d1e023ded3798b8
X-Google-Attributes: gid10d6db,public
From: Tim Cross <tcross@tim.northnet.com.au>
Subject: Re: Processor & OS query
Date: 2000/05/26
Message-ID: <m38zwxetpi.fsf@tim.northnet.com.au>
X-Deja-AN: 627463858
References: <8gjna4$9jk$1@news.eisa.net.au>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@telstra.net
X-Trace: nsw.nnrp.telstra.net 959320719 203.57.24.28 (Fri, 26 May 2000 15:58:39 EST)
Organization: Customer of Telstra Big Pond Direct
MIME-Version: 1.0
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.6
NNTP-Posting-Date: Fri, 26 May 2000 15:58:39 EST
Newsgroups: aus.computers.java