Skip to content

Unable to change Ballerina version picked up by Extension #615

@viggnah

Description

@viggnah

Description

When I hit the run button, the following happens:

zsh:1: no such file or directory: /Library/Ballerina/distributions/ballerina-2201.3.0/bin/bal

 *  The terminal process "/bin/zsh '-l', '-c', '/Library/Ballerina/distributions/ballerina-2201.3.0/bin/bal run'" failed to launch (exit code: 127)

Actually I deleted this distribution manually from the filesystem hoping it will pick up the latest but no luck. But in my terminal if I run bal run it just works.

ll /Library/Ballerina/distributions 
total 16
drwxr-xr-x  12 root  wheel   384B Oct  2  2024 ballerina-2201.10.1
drwxr-xr-x  12 root  wheel   384B Mar 21 11:28 ballerina-2201.12.2
drwxr-xr-x  12 root  wheel   384B Apr 18 12:11 ballerina-2201.12.3
drwxr-xr-x  12 root  wheel   384B Jan 18  2024 ballerina-2201.8.1
-rw-r--r--   1 root  wheel    19B Apr 21  2022 ballerina-version
-rw-r--r--   1 root  wheel    37B Apr 21  2022 installer-version
bal dist list           
Distributions available locally: 

* 2201.12.3

Distributions available remotely:

Swan Lake channel

  2201.12.4 - latest
* 2201.12.3
  2201.12.2
  2201.12.1
  2201.12.0
  2201.11.0
  2201.10.5
  2201.10.4
  2201.10.3
  2201.10.2

Steps to Reproduce

Not sure

Version

1.0.2

Environment Details (with versions)

mac OS 15.4.1 (24E263)
java 21.0.7-tem
VS Code:
Version: 1.99.3 (Universal)
Commit: 17baf841131aa23349f217ca7c570c76ee87b957
Date: 2025-04-15T23:18:46.076Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions