In this section you will learn how to embed the Java Virtual Machine into a native application. Embedding the VM into your native application gives the native application the full power of the VM. For example, you might want to do this if your application is a web browser that supports the execution of Java applets.
Invoking the Java Virtual MachineThis section shows you how to load the Java Virtual Machine from a native library into a native application. It includes instructions on how to initialize the Java Virtual Machine and invoke Java methods. The Invocation API also allows native threads to attach to a running Java Virtual Machine and bootstrap themselves into Java threads. Currently, the JDK only supports attaching native threads on Win32. The support for Solaris native threads will be available in a future release.