Login:
Votes - 0, Average rating: 0 ( )

User manual HP, model HP Integrity NonStop H-Series

Manafacture: HP
File size: 351.98 kb
File name:
Language of manual:itende
Free link for this manual available at the bottom of the page



Other manuals for this model:

manual abstract


You are done.
On TNS/R systems, place the newly created library (
5.
.a or .lib) file in
install_dir/java_public_lib_jdk142.
6. On TNS/R systems, relink the Java virtual machine (JVM) by using the
install_dir/install/Makefile. For more information about the Makefile, see Using the Makefile
to Link in Native Libraries.

The javahjni demo shows an example of how to create a library file and, only on TNS/R systems, link the file
in with a java executable. This demo also shows converting between TNS and IEEE floating point.
Calling Java Methods from C or C++
You can create your own C or C++ program and use the Invocation API to load the JVM into an arbitrary native
program. Be sure to follow these guidelines:
Compile code written in C++ by using the
q
-Wversion3 compiler on TNS/R, the -Wversion2 or
-Wversion3 compiler on TNS/E, and the -WIEEE_float compiler command-line options.
On the TNS/R platform, in the NonStop system environment, link the NonStop Server for Java 4 libraries
q
into the custom-built main program.
On the TNS/E platform, the NonStop Server for Java 4 provides DLLs. Therefore, you build your own
q
executable and link that executable against the JVM DLL, libjvm.so. You must also take additional
steps to make sure that the NonStop Server for Java version of the Pthreads library is used rather than the
public Pthreads library. For details, see the invocation_api demo provided with the NonStop Server for
Java 4 installation.
Do not set signal handlers for the following signals:
q
SIGSEGV, SIGPIPE, SIGCHLD, SIGINT, SIGQUIT,
SIGTERM, and SIGHUP.
Set the executable to use IEEE floating point.
q
NonStop Server for Java 4 does not support the signal-chaining facility implemented in some other vendors' JVMs.
When a program uses the Invocation API to start a JVM, its function returns are parameters of type float or
double that are in IEEE floating-point format. Any parameters of type float or double that are passed to
NonStop Server for Java 4 must also be in IEEE floating-point format. If such a program wants to convert between
TNS floating-point format and IEEE floating-point format, the Guardian Procedure Calls Manual documents a
series of procedures with names beginning with NSK_FLOAT_ that can be used to convert float and double
data between the two formats.
To run the Invocation API demo, follow the instructions for the Invocation API demo in the README file in the
directory /usr/tandem/java/demo/invocation_api.
Using the compaq.liblist System Property (TNS/R Only)
By default, the NonStop Server for Java 4 does not throw an UnsatisfiedLinkError exception when
System.load or System.loadLibrary are called for a library that has not been statically linked into the
Java virtual machine. An UnsatisfiedLinkError is thrown, however, when a native method is invoked if
that native method does not exist in the JVM. NonStop Server for Java 4 does not support Dynamic-Link Libraries.
To catch an UnsatisfiedLinkError during a call to load or loadLibrary when a static library has not
been linked into the JVM, instead of catching the error when the native method is called, do the following:


...

Other models in this manual:
Desktops - HP NonStop G-Series (351.98 kb)
Desktops - HP NonStop L-Series (351.98 kb)

Reviews



Your review
Your name:
Please, enter two numbers from picture:
capcha





Category