KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions Unable to run/install Q Developer

  • Unable to run/install Q Developer

    Posted by biggorilla on April 9, 2022 at 12:00 am

    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:developerlauncher.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>configconfig.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!

    biggorilla replied 9 months, 1 week ago 2 Members · 4 Replies
  • 4 Replies
  • biggorilla

    Member
    April 10, 2022 at 12:00 am

    I am in!

    I had to set the port to 40000!

  • biggorilla

    Member
    April 10, 2022 at 12:00 am

    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
  • biggorilla

    Member
    April 10, 2022 at 12:00 am

    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:qw64"

    Below is my result. It fails at step 2:

    C:WINDOWSsystem32>setx PATH “%PATH”;C:qw64″

    SUCCESS: Specified value was saved.

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

    C:WINDOWSsystem32>

  • davidcrossey

    Member
    April 11, 2022 at 12:00 am

    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.

Log in to reply.