[210] in java-interest

home help back first fref pref prev next nref lref last post

Native Methods Question

daemon@ATHENA.MIT.EDU (Kevin Collins)
Wed Jun 7 12:47:08 1995

Date: Wed, 7 Jun 1995 10:12:36 -0600
From: Kevin Collins <kevinc@hppcih58.fc.hp.com>
To: java-interest@java.Eng.Sun.COM
Cc: chrisk@hppcih58.fc.hp.com, detlef@hppcih58.fc.hp.com

Hi,

I have not actually used Java yet and have only read about it.  Can 
someone help me with the following subject?

On Implementing Native Methods an example is given of file read and
write routines being done in C.  One of the details is that the C
code sets the separator to / appropriately.  My questions are :

1) Isn't this C code going to be interpreted/executed on the client?

2) If the answer to #1 is yes, then how can I write a single program
   that "knows" things like which separator to use?

Thanks,

Kevin
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post