AnsweredAssumed Answered

Not possible to get HiCommandCLI works

Question asked by Legacy HDS Forums on Mar 5, 2013
Latest reply on Mar 7, 2013 by Legacy HDS Forums

Originally posted by: HDSGuy



Hello Guys good day,

In a previous post I ask for some help and the answer has to be done using HiCommandCLI.
As far as I see I have already installed HiCommand but I have not been able to launch it.

When I'm in the directory I just run this command:
C:\Program Files (x86)\HiCommand\DeviceManager\HiCommandCLI>HiCommandCLI.bat
'"java"' is not recognized as an internal or external command, operable program or batch file.

After reading the User guide I see that I have to set the PATH to the JRE installation folder which is :
"C:\Program Files (x86)\HiCommand\Base\jdk\jre\bin"

If I'm OK I suppose I have to add this path to the HiCommandCLI.bat file located in  "C:\Program Files (x86)\HiCommand\DeviceManager\HiCommandCLI"

So I pen the file and change as follows:

Original Info:

set JAVA_CMD=%HDVM_CLI_JRE_PATH%\java
if not defined HDVM_CLI_JRE_PATH (
set JAVA_CMD=java
)

Modified Info:

set JAVA_CMD=%HDVM_CLI_JRE_PATH%\java
if not defined HDVM_CLI_JRE_PATH (
set JAVA_CMD=C:\Program Files (x86)\HiCommand\Base\jdk\jre\bin
)

After modify the file and try again I get this:
"C:\Program Files (x86)\HiCommand\DeviceManager\HiCommandCLI>HiCommandCLI.bat
\HiCommand\Base\jdk\jre\bin was unexpected at this time. "

Do you have any clue of what´s going on?

Thanks.

Outcomes