# Valid path to Julia executable in VS Code on MacOS?

**URL:** <https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 24, 2022, 3:18pm UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027 "2022-02-24T15:18:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjdegruijter](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jjdegruijter](https://discourse.julialang.org/u/jjdegruijter)\
**Post date:** [February 24, 2022, 3:18pm UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/1 "2022-02-24T15:18:01Z")

</div>

I installed julia-1.6, VS Code, and setting julia.executablePath.  
When I try to run one of my Julia codes, I keep getting the message:  
“Could not start the Julia language server. Make sure the configuration setting julia.executablePath points to the Julia binary.”  
The last version of the path I tried is:  
home/Applications/julia-1.6/Contents/Resources/julia/bin/julia

Does anybody know how to solve this? Perhaps an example of a path that works on MacOS-12?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [February 24, 2022, 3:44pm UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/2 "2022-02-24T15:44:20Z")

</div>

Aren’t you missing a slash at the start there?

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [February 24, 2022, 3:47pm UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/3 "2022-02-24T15:47:59Z")

</div>

/Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia

---

<div class="post-metadata">

**Author:** ![jjdegruijter](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jjdegruijter](https://discourse.julialang.org/u/jjdegruijter)\
**Post date:** [February 24, 2022, 6:38pm UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/4 "2022-02-24T18:38:26Z")

</div>

A slash at the start didn’t help

---

<div class="post-metadata">

**Author:** ![jjdegruijter](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jjdegruijter](https://discourse.julialang.org/u/jjdegruijter)\
**Post date:** [February 24, 2022, 6:51pm UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/5 "2022-02-24T18:51:26Z")

</div>

Very good: the “.app” did it. No more warnings. Thank you!

Next problem: when I click on “run and debug”, nothing happens.  
No output, no problems detected in the workspace

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [February 24, 2022, 7:43pm UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/6 "2022-02-24T19:43:26Z")

</div>

I think that “run and debug” works when you place yourself in a properly defined Julia project.  
You may take a look at this introductory video

[![]( " - YouTube") ](https://www.youtube.com/watch?v=n8mV7eNwqzY)

if you can survive my english 😉

---

<div class="post-metadata">

**Author:** ![adamwillisMastery](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwillismastery/32/32240_2.png) [@adamwillisMastery](https://discourse.julialang.org/u/adamwillisMastery)\
**Post date:** [February 25, 2022, 12:31am UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/7 "2022-02-25T00:31:26Z")

</div>

Thank you (Merci a vous, abonné)  
for those of you interested, he’s a humble teacher with a a good presentation 😄

---

<div class="post-metadata">

**Author:** ![jjdegruijter](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jjdegruijter](https://discourse.julialang.org/u/jjdegruijter)\
**Post date:** [February 25, 2022, 10:20am UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/8 "2022-02-25T10:20:52Z")

</div>

Thank you for your comment. I’ve watched your video and I could easily survive your english, but it’s out of the question that I could survive the complexity of the procedure in the video. Being an old statistician, it’s just out of reach for me.

Until a year ago I used julia-1.0 without creating a project, and that worked fine. I did not need a project either, because I have only one programming job to do.

Can’t I go ahead with programming without a project?

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [February 25, 2022, 11:28am UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027/9 "2022-02-25T11:28:00Z")

</div>

Sorry about that. I hope that the problem is the video quality that mix probably too many subjects in a short time (vscode and julia install, Project creation with pkgskeleton, github repo, Revise).

I think that Julia really shines when you start to use projects.

I have just checked that I can use “run and debug” on a simple julia script:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=NMHb8dWBeQE)

Note that I use option-O option-J to launch Julia on vscode (Alt-J Alt-O on Linux/Windows)

Hope it helps.
