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

Raimo Niskanen <>
Thu Oct 25 14:35:07 CEST 2012


On Thu, Oct 25, 2012 at 06:00:21AM +0200, Bengt Kleberg wrote:
> 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?

... or use the short name a'la PROGRA~1 ...

> 
> 
> 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 <> 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
> > 
> > http://erlang.org/mailman/listinfo/erlang-questions
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list