# Difficulty switching to 1.7 in VSCode

**URL:** <https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798>\
**Category:** Tooling\
**Tags:** vscode\
**Created:** [December 9, 2021, 12:28am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798 "2021-12-09T00:28:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfrgra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wfrgra/32/10702_2.png) [@wfrgra](https://discourse.julialang.org/u/wfrgra)\
**Post date:** [December 9, 2021, 12:28am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798/1 "2021-12-09T00:28:00Z")

</div>

Hi all, I’m struggling to get VSCode to use Julia 1.7 on Windows 7.  
I’ve updated the system path to point to 1.7, but VSCode still uses 1.6 by default.  
If I change the julia.executablePath setting in VSCode to point to 1.7 (using double backslashes), VSCode gives the error: “Could not start the Julia language server. Make sure the configuration setting julia.executablePath points to the Julia binary.”  
Any suggestions on how to fix this would be appreciated.  
Thanks

---

<div class="post-metadata">

**Author:** ![CaoHua](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/caohua/32/16083_2.png) [@CaoHua](https://discourse.julialang.org/u/CaoHua)\
**Post date:** [December 9, 2021, 2:01am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798/2 "2021-12-09T02:01:14Z")

</div>

Dear,

I think you may encounter the same issue as mine. It could be solved. It is caused due to configuration of VS Code Julia Extension and the **Workspace**.

There is a workspace configuration file **settings.json** in directory “current programming directory”\.vscode. This workspace configuration will override your setting in VS Code. So, on top of changing VS Code setting, **settings.json** should be modified too.  
This is what I got to know per help hint by **pfitzseb**.

Or, you may try to always keep settings as VS Code, without being overrided by workspace. Just open “.vscode\extensions\julialang.language-julia-1.5.6\package.json” (as below screenshot)，change ”configuration”–\>”julia.executablePath”–\>”scope” from ”machine-overridable” into ” **machine** ”.

![VS Code Julia Extension Modification](https://global.discourse-cdn.com/julialang/original/3X/b/5/b5593cc883033384445da70c5e8f67ff229cd86d.png)

The workspace configuration will not override the setting in VS Code.

Here is the link of my original post for your reference.  
https://discourse.julialang.org/t/vs-code-extension-error/71757

Thanks & B.Rgds.

---

<div class="post-metadata">

**Author:** ![wfrgra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wfrgra/32/10702_2.png) [@wfrgra](https://discourse.julialang.org/u/wfrgra)\
**Post date:** [December 9, 2021, 4:12am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798/3 "2021-12-09T04:12:50Z")

</div>

Thanks, but this doesn’t appear to fix the problem.  
The local **settings.json** files don’t have anything in them and starting a new session in a new clean folder doesn’t work either.  
Change the scope to machine instead of machine overridable had no effect either.

---

<div class="post-metadata">

**Author:** ![CaoHua](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/caohua/32/16083_2.png) [@CaoHua](https://discourse.julialang.org/u/CaoHua)\
**Post date:** [December 10, 2021, 2:34am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798/4 "2021-12-10T02:34:10Z")

</div>

I overlooked “using double backslashes” in your original post.

Could you try just single backslash? As I make it work with single backslash instead of double ones.

![Julia Path](https://global.discourse-cdn.com/julialang/original/3X/d/f/dff36a14a7ab40f869ddef5f8b146c7062a95923.png)

Thanks & B.Rgds.

---

<div class="post-metadata">

**Author:** ![wfrgra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wfrgra/32/10702_2.png) [@wfrgra](https://discourse.julialang.org/u/wfrgra)\
**Post date:** [December 10, 2021, 6:53am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798/5 "2021-12-10T06:53:49Z")

</div>

Single backslashes don’t work either. I can start Julia 1.7 by typing “julia” into the windows terminal inside VSCode, so I don’t think the problem is finding the executable. Maybe there’s some other problem preventing Julia starting correctly  
Thanks

---

<div class="post-metadata">

**Author:** ![ptoche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ptoche/32/23554_2.png) [@ptoche](https://discourse.julialang.org/u/ptoche)\
**Post date:** [December 10, 2021, 7:37am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798/6 "2021-12-10T07:37:55Z")

</div>

Does [this discussion](https://discourse.julialang.org/t/julia-1-1-doesnt-start-in-vscode-could-not-start-the-julia-language-server/22476) help?
