May 24, 2022
Posted by Patrick Burma

On Windows you will have to create the profile file manually. From a prompt you can do a:


>mkdir .vantiq

>cd .vantiq

>notepad profile

An entry for a profile looks like this:

url = ‘’
token = ‘<your token>’

<weird escaping issue, the url should be wrapped in single quotes>

The syntax isn’t proper JSON formatting just so you know.

For the JAVA_HOME thing you can set this on the prompt or you can go into the Windows System and do a search for Advanced System Settings. When that window pops up you can use Environmental Variables to add a new user variable called JAVA_HOME that points to the root of your jdk folder, something like: C:\Program Files\Java\jdk1.8.0_251\

Or you can do this in the dos prompt:

set JAVA_HOME=”C:\Program Files\Java\jdk1.8.0_251\”

To confirm it took correct run “set” by itself. This will be temporary, whenever you start a new dos prompt you will have to re-run that set command. So the system settings approach is better.

Once the setup is done you can now run the Vantiq CLI with the -s flag. Where I put the dev_pbDemo is the name of the profile to use: “vanitq -s dev_pbDemo”

© Vantiq 2024 All rights reserved  •  Vantiq Corporation’s Privacy Policy and Cookie Policy