# Unable to run/install Q Developer

**URL:** <https://forum.kx.com/t/unable-to-run-install-q-developer/12487>\
**Category:** Community Support\
**Tags:** add-ons\
**Created:** [April 9, 2022, 10:57pm UTC](https://forum.kx.com/t/unable-to-run-install-q-developer/12487 "2022-04-09T22:57:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigGorilla1](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@BigGorilla1](https://forum.kx.com/u/BigGorilla1)\
**Post date:** [April 9, 2022, 10:57pm UTC](https://forum.kx.com/t/unable-to-run-install-q-developer/12487/1 "2022-04-09T22:57:00Z")

</div>

Hello!

I installed the basic windows prompt for Q and that works, but now I am trying to install Developer and have encountered many problems.

&nbsp;

When trying to launch launcher.q\_ to use Developer, I am shown the Windows error prompt:

"C:\developer\launcher.q\_

This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page."

&nbsp;

I think I’m stuck on the prerequesites section of the setup. I am not confident that I’ve setup the enviroment variables correctly. I tried, in Windows 10 environment varialbes:  
New:  
Variable name: QHOME

Variable value: C:\q

and the same for QLIC

&nbsp;

Somewhere mentioned setting q to %PATH% and I don’t know what to do with that information

&nbsp;

Following the readme, in the windows CMD prompt the following command seems to work without issue:

\<install\>\config\config.bat&nbsp;&nbsp; - (in my correct directory)

but then this next command fails, apparently because it doesn’t understand the first ‘q’.

q \<install\>\launcher.q\_

&nbsp;

I have two file directories, one C:\Q and since downloading Developer, C:\developer - do I need to combine these?

Somewhere where I was advised to set a port. I don’t know how to do that. I found a guide but I wasn’t able to test if it had worked.

&nbsp;

I followed the setup from the FAQ and encountered this error:

q)`DEVELOPER\_HOME setenv "c:\developer" '"c:\developer" [0] `DEVELOPER\_HOME setenv “c:\developer”  
^

where ^ is beneath the `

&nbsp;

Sorry for this chaotic post, I don’t know what I’m doing or missing. Thank you in advance to anyone who can help!

---

<div class="post-metadata">

**Author:** ![BigGorilla1](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@BigGorilla1](https://forum.kx.com/u/BigGorilla1)\
**Post date:** [April 10, 2022, 8:45am UTC](https://forum.kx.com/t/unable-to-run-install-q-developer/12487/2 "2022-04-10T08:45:00Z")

</div>

Hello again, today I think the main issue is the following, from: "https://code.kx.com/q/learn/install/", step 5, edit profile, the steps are:

In the command shell issue the following commands:

1. `setx QHOME "C:\q"`
2. `setx PATH "%PATH%;C:\q\w64"`

Below is my result. It fails at step 2:

C:\WINDOWS\system32\>setx PATH “%PATH”;C:\q\w64"

SUCCESS: Specified value was saved.

C:\WINDOWS\system32\>q  
‘q’ is not recognized as an internal or external command,  
operable program or batch file.

C:\WINDOWS\system32\>

---

<div class="post-metadata">

**Author:** ![BigGorilla1](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@BigGorilla1](https://forum.kx.com/u/BigGorilla1)\
**Post date:** [April 10, 2022, 9:09am UTC](https://forum.kx.com/t/unable-to-run-install-q-developer/12487/3 "2022-04-10T09:09:00Z")

</div>

Adding a port progressed me to the next step!

q)\l C:/developer/launcher.q\_  
[developer] version 1.5.1

[developer] [!] couldn’t validate install, proceeding with startup…  
[developer] loading…  
[developer] failed to start Kx Developer: server.init

---

<div class="post-metadata">

**Author:** ![BigGorilla1](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@BigGorilla1](https://forum.kx.com/u/BigGorilla1)\
**Post date:** [April 10, 2022, 9:36am UTC](https://forum.kx.com/t/unable-to-run-install-q-developer/12487/4 "2022-04-10T09:36:00Z")

</div>

I am in!

I had to set the port to 40000!

---

<div class="post-metadata">

**Author:** ![davidcrossey1](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@davidcrossey1](https://forum.kx.com/u/davidcrossey1)\
**Post date:** [April 11, 2022, 4:02am UTC](https://forum.kx.com/t/unable-to-run-install-q-developer/12487/5 "2022-04-11T04:02:00Z")

</div>

Specific port number shouldn’t be an issue.

Best to source all of the config params prior to running the launcher.q\_ script as per this note&nbsp;i.e. running the config.bat script first.
