# Kernel error when launching jupyter notebook after new julia install

**URL:** <https://discourse.julialang.org/t/kernel-error-when-launching-jupyter-notebook-after-new-julia-install/82605>\
**Category:** New to Julia\
**Created:** [June 11, 2022, 5:29pm UTC](https://discourse.julialang.org/t/kernel-error-when-launching-jupyter-notebook-after-new-julia-install/82605 "2022-06-11T17:29:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mocalvao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mocalvao/32/19318_2.png) [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Post date:** [June 11, 2022, 5:29pm UTC](https://discourse.julialang.org/t/kernel-error-when-launching-jupyter-notebook-after-new-julia-install/82605/1 "2022-06-11T17:29:30Z")

</div>

Hi there,

I used to have my julia install directories (julia-1.5.2, 1.6.0, …, 1.7.2) right under my home directory, in a Ubuntu desktop. Today I decided to move these directories to a brand-new directory, called julia, under my home directory and to also install there the latest release, 1.7.3. After that, when I issue:

```julia
julia> using IJulia
julia> notebook(detached=true)

```

and choose an old notebook (which used to run fine under some of the previous releases/kernels), the jupyter interface launches a Kernel error:

```julia
FileNotFoundError: [Errno 2] No such file or directory: '/home/orca/julia-1.6.2/bin/julia

```

Any suggestions?  
I have already tried to (re)build IJulia, but without any success…

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [June 12, 2022, 8:23am UTC](https://discourse.julialang.org/t/kernel-error-when-launching-jupyter-notebook-after-new-julia-install/82605/2 "2022-06-12T08:23:13Z")

</div>

Have you rebuilt IJulia from all old Julia versions? You can do

```julia
julia> readdir(IJulia.kerneldir(); join = true)
1-element Vector{String}:
 "/home/nils/.local/share/jupyter/kernels/julia-1.7"

```

To check what kernels are installed, and check the JSON files in those folders to see the config, including location of the Julia executable, for each kernel.
