[erlang-questions] Specifying directories that contain .beam files
Bengt Kleberg
bengt.kleberg@REDACTED
Thu Oct 25 06:00:21 CEST 2012
Greetings,
I do not have access to Windows, but perhaps your problem is the " " in
"Program Files"?
Can you install in a directory without " " in the path and test again?
bengt
in On Wed, 2012-10-24 at 14:30 -0400, Yash Ganthe wrote:
> I set the environment variable in Windows but get an error:
>
> E:\DummyErlQAU>set ERL_LIBS="C:\Program Files\erl5.9.1\lib\erlsom-1.2.1"
>
> E:\DummyErlQAU>erl
> {error_logger,{{2012,10,24},{14,28,26}},std_error,"File operation
> error: eio. Target: \"C:\Program Files\erl5.9.1\lib\erlsom-1.2.1\".
> Function: list_dir. Process: code_server."}
>
> =ERROR REPORT==== 24-Oct-2012::10:28:26 ===
> File operation error: eio. Target: "C:\Program
> Files\erl5.9.1\lib\erlsom-1.2.1". Function: list_dir. Process:
> code_server.
> Eshell V5.9.1 (abort with ^G)
> 1>
>
>
> What could be wrong?
>
> On 10/24/12, David Mercer <dmercer@REDACTED> wrote:
> > 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
> >
> >
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list