Still more on updating, uninstalling and re-installing Julia (Windows)

I updated my 1.9.0 Julia version to 1.9.1 using UpdateJulia.

  • version 1.9.1 was installed
  • version 1.9.0 was not removed (although I intended to)
  • my desktop icon, when double-clicked, starts 1.9.0 (I prefer that it starts 1.9.1)
  • in the windows/config/applications I can only see 1.9.0 (but 1.9.1 is also installed)
  • the path to 1.9.1 seems to have changed correctly
  • in order to start Julia I am obliged to open a CMD window and run “julia”
  • my jupyter notebooks still point to 1.9.0 (but I want to use 1.9.1)
  • I have tried to reinstall IJulia, but it fails

With the appearance of version 1.9.2 I have used UpdateJulia again (I do not know exactly why), but things have not improved.

Now my idea is to manually uninstall the 3 versions of julia that are in my PC and reinstall only 1.9.2 again. However, if I use the Windows/config/applications/uninstall command, I think that I will be able to uninstall only 1.9.0 since it is the only one that is visible. What can I do when a new Julia version appears in the future?

If I am sincere, I am lost.

Could anyone recommend me how to proceed or where to find the pertinent documentation for my case? I would highly appreciate it.

Thanks in advance.

For the kernel in jupyter ti change you have to rebuilt IJulia (not necessarily reinstall, just rebuild) see Installation · IJulia, but what does it fail with for you when you try to reinstall?

(Concerning the windows parts, I can not help much, sorry).

thank you, kellertuer

I manually uninstalled Julia and then reinstalled it. Now IJulia seems to work.

On Windows I always install and uninstall Julia manually. I find it the most simple way and give me the extra bonus of easily decide where to install it (for me the default location is awful).

My recommendation would be to try to uninstall all Julia versions you have on your system, and then reinstall Julia from the Windows Store. At that point you will also have Juliaup installed on your system and that will take care of managing Julia updates on your system in the future.

To uninstall, in particular versions that might no longer show up in the standard Windows uninstall UI, you can look in the folder <YOUR HOME FOLDER>\AppData\Local for Julia folders. They might be directly children of that folder, or they might hide in another subfolder called Programs, or Julia or something like that. Inside each Julia version folder you should find an uninstaller that will remove that particular Julia version from your system. Sometimes it is in the root folder for the Julia install, sometimes it is in a folder called uninstall. Once you have removed all Julia versions in that way, you probably want to check your PATH env variables (both system and user) and make sure any Julia specific folders are also removed there.

And then just follow the instructions in Julia in the Windows Store | David Anthoff | JuliaCon2021 - YouTube to install Julia. If you want to get a more in-depth understanding of how that all works you can also look at Juliaup - The Julia installer and version multiplexer | David Anthoff | JuliaCon 2022 - YouTube.