bmorse

Set NIMV_CONTIP for Java SDK - Remote access to Nimbus

Discussion created by bmorse on Nov 19, 2013
Latest reply on Dec 31, 2013 by yandx.sigma

I am trying to build an extension to Nimsoft that needs to run on a host that does not have a robot.

 

Has anyone been able to get the Nimsoft Java SDK to respect the NIMV_CONTIP variable?  Seems from other documentation this variable can be set to indicate where a Nimsoft hub can be located for communication to the bus.

 

I have tried various iterations of setting the variable in the runtime environment on the host, and on the java statup options with -DNIMV_CONTIP=<ipaddress>

 

With all of this effort, the value of NIMV_CONTIP is still "127.0.0.1"

 

NimEnv.setSystemPropertiesFromEnvironment();
try {
    System.out.println("NIMENV: NIMV_CONTIP="+ NimVar.getInstance().getAsString(NimVar.NIMV_CONTIP));
} catch (NimException e) {
    e.printStackTrace();
}

Outcomes