# Which IDE?

**URL:** <https://forum.kx.com/t/which-ide/12004>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [March 27, 2020, 3:06pm UTC](https://forum.kx.com/t/which-ide/12004 "2020-03-27T15:06:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary1](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gary1](https://forum.kx.com/u/Gary1)\
**Post date:** [March 27, 2020, 3:06pm UTC](https://forum.kx.com/t/which-ide/12004/1 "2020-03-27T15:06:00Z")

</div>

Hi,  
I have tried installing two IDEs but so far got neither to connect correctly.

I am using a Win 10 laptop and a Win 7.  
Testing with CMD window is fine but .. if I enter q next to the command prompt

it does not invoke q - I think I set the PATH and HOME etc.,correctly but maybe not.

I still have to enter an explicit path to the q.exe

currently these are set

QHOME C:\q

QLIC C:\q

i am user as per

TEMP C:\Users\GWM2\AppData\Local\temp

The cmd prompt defaults to

C:\Users\GWM2\<font size=‘“2”’\>

but&nbsp;

C:\Users\GWM2\q does not work&nbsp;

I have to go back to C:\ and enter&nbsp;C:\q\w64\q

which works

The full path to q.exe is C:\q\w64\q.exe

1. Installing Developer as per instructions, I get as far as

Connecting to Developer

“To connect to Developer, open a modern web browser and navigate to the URL output to the q console when you start Developer.” … But there is no URL generated , just the path to launcher.

q)til 6

0 1 2 3 4 5

q) C:\developer\launcher.q\_

That gets me this:'\ [0] C:\developer\launcher.q\_

q is installed

C:\q\w64\q.exe

2. qStudio

Install goes OK, try to set a server as per the instructions, but I get no connection to any server:

q)-p500

'-

[0] -p500

^

q)

Server localhost:5000 not connected

But I dble clicked on the file in C:\q\q.k and it opened in qStudio

But server still shows not connected or ##Server changed to -\>null

Are there some checks I can do on environment settings that might be wrong?

What IDE is widely used that might be integrated with an automated install?

Eventually I want to automate searches for patterns in price tic data that I currently apply manually to candle charts. Existing tools for time and price patterns? i’d need to connect to TradeStation currently.

Thanks

Cheers,

Gary

---

<div class="post-metadata">

**Author:** ![kadir\_kilicoglu1](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kadir\_kilicoglu1](https://forum.kx.com/u/kadir_kilicoglu1)\
**Post date:** [March 27, 2020, 3:37pm UTC](https://forum.kx.com/t/which-ide/12004/2 "2020-03-27T15:37:00Z")

</div>

Hello Gary,

1. It seems that you have not set your path correctly. There must be an entry like&nbsp;C:\q\w64 in your path. So when you open your environment variable it should be like PATH=“..;..;C:\q\w64;..”

2. Your QHOME set seems correct if you have installed q under C:\q

3. You do not require to set QLIC if your license is under C:\q. That will simply use the default setting from QHOME.

4. To be able to connect to your q process through a web browser either;

- Start your q process with a -p \<port-number\> flag, i.e C:\> q -p 50002
- Or in your q process issue a \p \<port-number\> command, i.e q) \p 50002

---

<div class="post-metadata">

**Author:** ![Gary1](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gary1](https://forum.kx.com/u/Gary1)\
**Post date:** [March 27, 2020, 5:24pm UTC](https://forum.kx.com/t/which-ide/12004/3 "2020-03-27T17:24:00Z")

</div>

Hi Kadir,  
Thanks. Got the PATH set OK but still getting no joy with:

q)3+3

6

q)c:\developer\launcher.q\_

'\

&nbsp; [0]&nbsp; c:\developer\launcher.q\_

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^

q)C:\developer\launcher.q\_

'\

&nbsp; [0]&nbsp; C:\developer\launcher.q\_

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^

q)-p 5000

'-

&nbsp; [0]&nbsp; -p 5000

&nbsp; &nbsp; &nbsp; &nbsp;^

q)

…

q)C:\developer\developer-1.3.0-windows\analyst

'\

&nbsp; [0]&nbsp; C:\developer\developer-1.3.0-windows\analyst

Developer config is:&nbsp;

@echo off&nbsp;

&nbsp;

REM&nbsp;

REM Interactive installer variables&nbsp;

REM&nbsp;

set “DEVELOPER\_HOME=C:\developer”&nbsp;

set “DEVELOPER\_DATA=C:\developer\data”&nbsp;

set “DEVELOPER\_PORT=8080”&nbsp;

set “DEVELOPER\_USE\_TLS=no”&nbsp;

set “KX\_SSL\_CERT\_FILE=”&nbsp;

set “KX\_SSL\_CA\_CERT\_FILE=”&nbsp;

set “KX\_SSL\_KEY\_FILE=”&nbsp;

set “DEVELOPER\_USE\_AUTH=no”&nbsp;

set “DEVELOPER\_WORKSPACE\_CD=yes”&nbsp;

&nbsp;

REM Uncomment the following variables if using TLS with kdb+ v3.5 or earlier&nbsp;

REM set “SSL\_CERT\_FILE=”&nbsp;

REM set “SSL\_CA\_CERT\_FILE=”&nbsp;

REM set “SSL\_KEY\_FILE=”&nbsp;

&nbsp;

REM&nbsp;

REM Internal variables&nbsp;

REM&nbsp;

set PATH=%PATH%;C:\developer\ws\lib;C:\developer\ws\lib\odbc&nbsp;

set DEVELOPER\_PLUGIN\_PATH=C:\developer\plugins&nbsp;

Cheers,

Gary

---

<div class="post-metadata">

**Author:** ![kadir\_kilicoglu1](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kadir\_kilicoglu1](https://forum.kx.com/u/kadir_kilicoglu1)\
**Post date:** [March 27, 2020, 7:50pm UTC](https://forum.kx.com/t/which-ide/12004/4 "2020-03-27T19:50:00Z")

</div>

Hello Gary,

You are doing 2 things wrong:

A) You first open the q process and try to launch the developer. Do not do this, instead follow the steps below:

1. Open a command console, preferably as an administrator, and change directory to your developer/config folder.
2. Run config.bat
3. Run q C:\developer\launcer.q\_
4. Open a browser and navigate to the prompted address, most likely [http://localhost:8088](http://localhost:8088)

![]()

B) To make q listen to a port you are issuing a -p 5000 command, this is wrong. You have to use the \p 5000 command in a q process -OR- start q with the -p flag like q -p 5000.

![]()

Hope this helps!

Regards.

---

<div class="post-metadata">

**Author:** ![Gary1](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gary1](https://forum.kx.com/u/Gary1)\
**Post date:** [March 27, 2020, 8:24pm UTC](https://forum.kx.com/t/which-ide/12004/5 "2020-03-27T20:24:00Z")

</div>

PS both are working now, reran config etc, Thank you.&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![miptalan1](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@miptalan1](https://forum.kx.com/u/miptalan1)\
**Post date:** [May 15, 2020, 11:26am UTC](https://forum.kx.com/t/which-ide/12004/6 "2020-05-15T11:26:00Z")

</div>

Try QInsightPad  
http://www.qinsightpad.com/

---

<div class="post-metadata">

**Author:** ![Himanshu1](https://avatars.discourse-cdn.com/v4/letter/h/7cd45c/32.png) [@Himanshu1](https://forum.kx.com/u/Himanshu1)\
**Post date:** [May 16, 2020, 3:30pm UTC](https://forum.kx.com/t/which-ide/12004/7 "2020-05-16T15:30:00Z")

</div>

+1 for qPad

---

<div class="post-metadata">

**Author:** ![\_Oz](https://avatars.discourse-cdn.com/v4/letter/_/f07891/32.png) [@\_Oz](https://forum.kx.com/u/_Oz)\
**Post date:** [May 16, 2020, 4:36pm UTC](https://forum.kx.com/t/which-ide/12004/8 "2020-05-16T16:36:00Z")

</div>

Thank you, guys, glad you still like qPad ;)

Oleg
