HP OpenVMS Systems

ask the wizard
Content starts here

Utilizing Java JNI Demos?

» close window

The Question is:

 
I am trying to run the Java JNI 'SYSTEM_SERVICE_INVOKE_DEMO' examples that are
 available on the website for download. I am getting through most of the steps
 in the example except the last one. Linking... I have worked throught most of
 the problems except
this:
 
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM,         Java_com_compaq_OpenVMS_starlet
%LINK-W-USEUNDEFSYMV, undefined symbol Java_com_compaq_OpenVMS_starlet referenced
        in symbol vector option
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM,         Java_com_compaq_OpenVMS_starlet
%LINK-W-USEUNDEFSYMV, undefined symbol Java_com_compaq_OpenVMS_starlet referenced
        in symbol vector option
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM,         Java_com_compaq_OpenVMS_starlet
%LINK-W-USEUNDEFSYMV, undefined symbol Java_com_compaq_OpenVMS_starlet referenced
        in symbol vector option
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM,         Java_com_compaq_OpenVMS_starlet
%LINK-W-USEUNDEFSYMV, undefined symbol Java_com_compaq_OpenVMS_starlet referenced
        in symbol vector option
 
Please let me know what I am doing wrong or where I can find the place where
 this symbol should be defined.
 
 


The Answer is :

>I have worked throught most of the problems
There shouldn't be any problems to 'work through'.
 
See the instructions in BUILD_EXAMPLE.COM.
 
The only edit you should have to make is to modify
 
  BUILD_EXAMPLE.COM
 
such that the /include statement
matches the release of Java that you are using.
 
With this one change,
 
 ALIGHT> diff BUILD_EXAMPLE.COM
 ************
 File USER1$:[REICHERT.SYSTEM_SERVICE_INVOKE_DEMO.SYSTEM_SERVICE_INVOKE_DEMO]BUILD_EXAMPLE.COM;2
     9           "/include=sys$common:[java$141.include...]"
    10   $
 ******
 File USER1$:[REICHERT.SYSTEM_SERVICE_INVOKE_DEMO.SYSTEM_SERVICE_INVOKE_DEMO]BUILD_EXAMPLE.COM;1
     9           "/include=sys$common:[java$122.include...]"
    10   $
 ************
 
 Number of difference sections found: 1
 Number of difference records found: 1
 
works for me on OpenVMS 7.3-1 using a recent Java 1.4.1-1
 
If this does not get you going, please contact your
local support organzation or file a problem report with the Java group.
Details for filing a problem report can be found
on the same web pages from which
you found the pointer to the demo itself.
 
Rich

answer written or last revised on ( 24-NOV-2003 )

» close window