Java Native Interface - static something

From: Maria Gaitani (M.Gaitani_at_warwick.ac.uk)
Date: 02/04/04


Date: Wed, 4 Feb 2004 11:04:33 -0000

Hi!

I am trying to programme some java native interface but I'm still in the
process of research.
I've seen examples such as this one
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/step1.html

but I don't understand the third and fourth line of the code of the above
example:

static {
    System.loadLibrary("Hello"); }

I understand it is calling the library ... what I don't get is the structure
static { }.
I'd be grateful if you could explain what this structure is ...

Thank you
Maria



Relevant Pages

  • Re: Trouble with pointers
    ... after calling 'floor' I got a mess somewhere. ... Somewhere else in your programme, ...
    (comp.lang.c)
  • Re: Java Native Interface - static something
    ... > I am trying to programme some java native interface but I'm still in the ... You can use static initialization blocks within ...
    (comp.lang.java)
  • Help! Continuing medical education
    ... programme of the Continuing medical education. ... I should be grateful if you could address me in the search of information on ... legislations in which this programme is present; ... the system of credits related to the accredited activities. ...
    (sci.med)
  • Help! Continuing medical education
    ... programme of the Continuing medical education. ... I should be grateful if you could address me in the search of information on ... legislations in which this programme is present; ... the system of credits related to the accredited activities. ...
    (talk.politics.medicine)
  • How compress and repair mdb?
    ... I have written a programme, that inserts new data into a database table. ... the size of the mdb increases. ... I can change the size by calling "Compress ...
    (microsoft.public.access.queries)