# Julia unable to load/read jld file

**URL:** <https://discourse.julialang.org/t/julia-unable-to-load-read-jld-file/60803>\
**Category:** New to Julia\
**Created:** [May 9, 2021, 2:44am UTC](https://discourse.julialang.org/t/julia-unable-to-load-read-jld-file/60803 "2021-05-09T02:44:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickz1088](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@nickz1088](https://discourse.julialang.org/u/nickz1088)\
**Post date:** [May 9, 2021, 2:44am UTC](https://discourse.julialang.org/t/julia-unable-to-load-read-jld-file/60803/1 "2021-05-09T02:44:58Z")

</div>

When I do  
“X = load(“citiesSmall.jld”,“X”)”

I get an error  
“UndefVarError: load not defined”

I’m also not use how to open a jld file, sublime and textedit isn’t able to read the file

---

<div class="post-metadata">

**Author:** ![lhnguyen-vn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lhnguyen-vn/32/15449_2.png) [@lhnguyen-vn](https://discourse.julialang.org/u/lhnguyen-vn)\
**Post date:** [May 9, 2021, 5:57am UTC](https://discourse.julialang.org/t/julia-unable-to-load-read-jld-file/60803/2 "2021-05-09T05:57:16Z")

</div>

This functionality is provided by the [JLD.jl](https://github.com/JuliaIO/JLD.jl) package, so you need to add and load the package in your session first.
