NOTICE: Branded Content
NOTICE: Certain versions of content (“Material”) accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.
Network Management / (OpenView-NNM) User Discussions
cancel

problems compiling against libovw.jar

Douglas Gardner Absent Member.
Absent Member.

problems compiling against libovw.jar

Here is a simple test program to recreate the compiling problems I'm having
with the "libovw.jar" file. We are using version 6.1 of the Network Node
Manager SDK. This program compiles and runs with the "debug.libovw.jar"
file.

package OpenViewTest;
import hp.ov.libovw.*;

public class OpenViewTest
{
LibOvw libovw;
OVwMapInfo map;

public OpenViewTest()
{
libovw = new LibOvw();
libovw.OVwInitSession("EllacoyaMapApp", "stanley:0");
map = libovw.OVwGetMapInfo();
System.out.println(map.map_name);
libovw.OVwDone();
}

// Main entry point
static public void main(String[] args)
{
new OpenViewTest();
}
}

Here is the error that the Java CodeWarrior compiler returns:

Error : No variable map_name defined in class hp.ov.libovw.OVwMapInfo.
OpenViewTest.java line 14 System.out.println(map.map_name);

Thanks,

Doug Gardner