🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: what's mean of runtime class & native

#8557
From: John McGrath TeamB
Date: Wed, 14 Mar 2001 08:55
26 lines
1876 bytes
On Wed, 14 Mar 2001 13:09:47 +0800, hz wrote:

> I'm a newhand for java. and I puzzle about runtime class.
> can someone tell me what's mean of runtime class & native.
> and how can i use native in java.

Do you mean the Runtime class.  It provides the interface to the 
runtime system of the JVM.  This has methods that allow you to run 
external commands, load native libraries, control garbage collection, 
etc.
The term "native" generally refers to code in the format native to the 
host system, for example DLL files under Windows.  You can load native 
libraries using the Runtime loadLibrary() or load() methods, and then 
you can call methods from the native library.  Check the documentation 
in your JDK under "Java Native Interface" or "JNI" for more information 
on this.  It is way too broad a subject to be explained in a newsgroup 
message.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.1518efff12f96e3298a062@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
References: <98mu84$o5n1@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,bf202efd15009aa6
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-14 01:06:03 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: what's mean of runtime class & native
Date: Wed, 14 Mar 2001 03:55:17 -0500
Organization: Another Netscape Collabra Server User
Lines: 27
Message-ID: <MPG.1518efff12f96e3298a062@forums.borland.com>
References: <98mu84$o5n1@bornews.inprise.com>
NNTP-Posting-Host: dslcv1-60.fast.net
X-Newsreader: MicroPlanet Gravity v2.30