Log:
Assessments - 0, GPA: 0 ( )

Instruções de Operação HP, Modelo HP NonStop G-Series

Fabricante : HP
Arquivo Tamanho: 425.4 kb
Arquivo Nome :
Língua de Ensino: itende
Ir para baixar



por este dispositivo também tem outras instruções :

Facilidade de uso


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 and the -WIEEE_float compiler
command-line options.
In the NonStop system environment, link the NonStop Server for Java 4 libraries into the custom-built main
q
program.
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 and parameters of type float or
double 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
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 dynamically linked
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:
Execute
q
java and set the compaq.liblist system property to refer to the JavaLibList file
generated during the make operation. For example:
$ java -Dcompaq.liblist=\
/usr/tandem/java/bin/JavaLibList class-name

Edit the
q
JavaLibList file, if necessary.
When make is invoked to link native libraries into the java executable, the Makefile creates a special file
called JavaLibList in the same directory as the java executable. The JavaLibList contains a list of
libraries known to be statically linked into the JVM just built with the exception that any .lib suffixes
have been replaced with .a. This file lists several internal libraries that should not be removed or changed.
The string a Java program passes to the System.loadLibrary method is assumed to correspond to an
actual file name of lib.a. If the native library does not follow the naming convention of either
lib.a or lib.lib, then the Makefile does not create a correct entry for the
library. Therefore, you must edit the JavaLibList file such that each entry matches the format
lib.a, where is the value passed to the System.loadLibrary method. If the
native libraries do not follow the expected naming convention and the JavaLibList file is not edited,
then you get an incorrect UnsatisfiedLinkError exception when using the compaq.liblist


...

Este manual também é adequado para os modelos :
Computadores - HP NonStop L-Series (425.4 kb)

Escreva a sua própria avaliação do dispositivo



Mensagem
Seu nome :
Introduza os dois dígitos :
capcha





categorias