Type problem running old julia codes

Reading the error message helps!

What happens if you run

juliaup add 1.10
juliaup default 1.10

?

It works. But it is strange. I did not delete the 1.10 julia. I just added 0.7 julia.

There should be no need of re-installing.

C:\Users\jmzhang>juliaup add 1.10
Installing Julia 1.10.7+0.x64.w64.mingw32

C:\Users\jmzhang>juliaup default 1.10
Configured the default Julia version to be '1.10'.

C:\Users\jmzhang>julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.7 (2024-11-26)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

I’m guessing your previous Julia installation didn’t use juliaup. Installing juliaup makes running julia only show versions installed using juliaup which is why you had to install 1.10.

4 Likes