[erlang-questions] Specifying directories that contain .beam files

David Mercer <>
Wed Oct 24 18:12:44 CEST 2012


On Wednesday, October 24, 2012, Yash Ganthe wrote:

> Is it possible to setup an environment variable that lists all the
> directories where ERL should look for .beam files? This is equivalent to
> the CLASSPATH we set in Java.
> The aim is to have erlang look for default directories rather than having
> them passed using the -pa option to ERL.

ERL_LIBS may be what you want.

Cheers,

DBM




More information about the erlang-questions mailing list