cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run/install Q Developer

BigGorilla
New Contributor III

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.

 

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."

 

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

 

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

 

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

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

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

q <install>\launcher.q_

 

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.

 

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 `

 

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

1 ACCEPTED SOLUTION

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 i.e. running the config.bat script first.

David

View solution in original post

4 REPLIES 4

BigGorilla
New Contributor III

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>

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

I am in!

I had to set the port to 40000!

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 i.e. running the config.bat script first.

David