Is it possible to pass options to whatever is installing Erlang to not try to do the things that depend on Java? I don't have it installed (macOS 10.13.2), and while the two alerts that pop up suggesting that I install it are merely an annoyance, I'd rather not have them pop up at all.
Yes, you can. Inside the .asdf/plugins/erlang/kerl-home/ create a .kerlrc file and pass this configuration options:
(In the .kerlrc file)
KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"
For more information check the kerl GitHub docs:
Kerl
Yes, what @miltonArango said should work. You should also be able to do this on the fly using the same environment variable in the shell:
export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"
asdf install erlang <version>
What does --disable-debug have to do with Java?
@BryanJBryce not sure why I included that. Looking at the latest version of kerl I don't see that flag referenced anywhere, so it doesn't seem like it is even supported.
Most helpful comment
Yes, you can. Inside the
.asdf/plugins/erlang/kerl-home/create a .kerlrc file and pass this configuration options:(In the .kerlrc file)
KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"For more information check the kerl GitHub docs:
Kerl