[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Problems with JNI and C++ LINK?

» close window

The Question is:

 
I am trying to use JNI to call C++ code.  I am able to run the JNI examples
 succesfully however I run into link errors when I try to create the shareable
 image that Java uses for my own application.  I am using the following syntax
 in the option file that
 I include in the link command. The first object file is my C++ code with the
 JNI calls and the second is my object libary.  Is there something else that I
 need to do?
 
Opt File:
GSMATCH=LEQUAL,1,1
testiod.obj
uobj:iod/lib
JAVA$JAVA_SHR/SHARE
 
link command:
 
cxxlink /share=exec_name.exe -
global_options /opt, above_option_file /opt
 
 


The Answer is :

 
  Please contact the support center, as details of the error(s) and
  the specific error message text will be of central interest here.
  Also of interest here will be the C++ and Java versions.
 

answer written or last revised on ( 3-MAR-2004 )

» close window