# VS Code Julia version configuration issue

**URL:** <https://discourse.julialang.org/t/vs-code-julia-version-configuration-issue/40767>\
**Category:** New to Julia\
**Created:** [June 4, 2020, 9:56pm UTC](https://discourse.julialang.org/t/vs-code-julia-version-configuration-issue/40767 "2020-06-04T21:56:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Post date:** [June 4, 2020, 9:56pm UTC](https://discourse.julialang.org/t/vs-code-julia-version-configuration-issue/40767/1 "2020-06-04T21:56:02Z")

</div>

I have Julia 1.4.1 and 1.5.0 beta installed.

```julia
paul@extra:~/apps$ dir
julia-1.4.1 julia-1.5.0-beta1

```

1.5 beta is on my path:

```julia
paul@extra:~$ echo $PATH
/opt/ros/melodic/bin:/home/paul/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/paul/apps/julia-1.5.0-beta1/bin

```

and works fine from terminal. VS Code was using Julia 1.4 as it was the first one installed, but I wanted to switch to 1.5.0. I changed settings to:

```julia
{
    "julia.enableTelemetry": true,
    "python.pythonPath": "/usr/bin/python3",
    "editor.minimap.enabled": false,
    "breadcrumbs.enabled": false,
    "explorer.confirmDelete": false,
    "julia.executablePath": "/home/paul/apps/julia-1.5.0-beta1/bin",
    "julia.enableCrashReporter": false
}

```

and language server couldn’t start. I tried:

```julia
    "julia.executablePath": "/home/paul/apps/julia-1.4.1/bin",

```

with the same result. I tried a few shorter or longer path versions, restarting VS Code after each change and no cigar. I removed `julia.executablePath` parameter and automagically my Julia version in VS Code is 1.5.0-beta1` now. How did that happen?

Perhaps, it has something to do with only one `/home/paul/.julia` directory used by both versions?

---

<div class="post-metadata">

**Author:** ![elsuizo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elsuizo/32/89_2.png) [@elsuizo](https://discourse.julialang.org/u/elsuizo)\
**Post date:** [June 4, 2020, 10:02pm UTC](https://discourse.julialang.org/t/vs-code-julia-version-configuration-issue/40767/2 "2020-06-04T22:02:21Z")

</div>

maybe could you try: `"julia.executablePath": "/home/paul/apps/julia-1.5.0-beta1/bin/julia"`

---

<div class="post-metadata">

**Author:** ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Post date:** [June 4, 2020, 10:13pm UTC](https://discourse.julialang.org/t/vs-code-julia-version-configuration-issue/40767/3 "2020-06-04T22:13:25Z")

</div>

I tried that.

**EDIT**

Apparently, I didn’t try hard enough. This time, one of these does switch the version:

```julia
"julia.executablePath": "/home/paul/apps/julia-1.5.0-beta1/bin/julia"
"julia.executablePath": "/home/paul/apps/julia-1.4.1/bin/julia"

```

```julia

```

---

<div class="post-metadata">

**Author:** ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Post date:** [June 4, 2020, 10:51pm UTC](https://discourse.julialang.org/t/vs-code-julia-version-configuration-issue/40767/4 "2020-06-04T22:51:11Z")

</div>

I made a pull request to clarify the documentation.
