Java Native Interface - static something
From: Maria Gaitani (M.Gaitani_at_warwick.ac.uk)
Date: 02/04/04
- Next message: FISH: "Re: Execute Java in a new window"
- Previous message: KC Wong: "Re: Execute Java in a new window"
- Next in thread: Ryan Stewart: "Re: Java Native Interface - static something"
- Reply: Ryan Stewart: "Re: Java Native Interface - static something"
- Reply: Jared Dykstra: "Re: Java Native Interface - static something"
- Reply: Maria Gaitani: "what's the difference with the constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: FISH: "Re: Execute Java in a new window"
- Previous message: KC Wong: "Re: Execute Java in a new window"
- Next in thread: Ryan Stewart: "Re: Java Native Interface - static something"
- Reply: Ryan Stewart: "Re: Java Native Interface - static something"
- Reply: Jared Dykstra: "Re: Java Native Interface - static something"
- Reply: Maria Gaitani: "what's the difference with the constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|