install erlang with asdf without jinterface

asdf-erlang
asdf install
asdf no such plugin
install erlang mac asdf
asdf install erlang latest
* jinterface : no java compiler found
asdf erlang version
asdf erlang path

I'm trying to install Erlang (and later Elixir) with asdf however I'm getting an error regarding jinterface as the install process seems to freeze:

➜  ~ asdf install erlang 22.1.1
Downloading OTP-22.1.1.tar.gz to /Users/me/.asdf/plugins/erlang/kerl-home/archives
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   122    0   122    0     0    320      0 --:--:-- --:--:-- --:--:--   321
100 52.4M    0 52.4M    0     0  7604k      0 --:--:--  0:00:07 --:--:-- 9203k
Extracting source code
Building Erlang/OTP 22.1.1 (asdf_22.1.1), please wait...
APPLICATIONS DISABLED (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.1/otp_build_22.1.1.log)
 * jinterface     : Java compiler disabled by user

DOCUMENTATION INFORMATION (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.1/otp_build_22.1.1.log)
 * documentation  :
 *                  fop is missing.
 *                  Using fakefop to generate placeholder PDF files.

I had a look at https://github.com/asdf-vm/asdf-erlang and it says

For example, to skip the java dependency during installation use:
$ export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"
$ asdf install erlang <version>

If I had to guess, this is a java issue so when I try this solution it doesn't work and I get the same output.

Any idea on how to install Erlang this without installing Java? I don't recall this being an issue with Homebrew, meaning Homebrew requiring Java compiler present.

I suspect it's not actually freezing - it's compiling Erlang, but hiding all the output. Give it ten to twenty minutes or so, and it should complete.

How compile erlang without modules 'jinterface, odbc, wx' � Issue , In compilation process require install erlang modules? how fix them? * jinterface : No Java compiler found * odbc : ODBC library - link check� Check asdf readme for instructions on how to install & manage versions of Erlang. To specify custom options you can set environment variables just as you would when using kerl. For example, to skip the java dependency during installation use: $ export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac" $ asdf install erlang <version>

you can track progress with

tail -f /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.1/otp_build_22.1.1.log

Unable to install erlang 22.0-rc2 � Issue #100 � asdf-vm/asdf-erlang , asdf/plugins/erlang/kerl-home/builds/asdf_22.0-rc2/otp_build_22.0-rc2.log) * jinterface : No Java compiler found * odbc : ODBC library - header� 2 Building and Installing Erlang/OTP 2.1 Introduction. This document describes how to build and install Erlang/OTP-23. Erlang/OTP should be possible to build from source on any Unix/Linux system, including OS X.

Instead of trying it without jinterface you can install all dependencies.This fix I found here it works

sudo apt-get install automake autoconf libreadline-dev libncurses-dev \
libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev \
libwxgtk3.0-dev libgl1-mesa-dev  libglu1-mesa-dev libssh-dev xsltproc fop \
libxml2-utils

In case you are installing on small server like 1GB memory, if compiling fails increasing swap memory helps, took a while for me to fix.

asdf-vm/asdf-erlang: Erlang plugin for asdf version manager, erlang ruby $ asdf install Extracting source code Building Erlang/OTP jinterface : No Java compiler found APPLICATIONS INFORMATION� asdf install erlang ref:OTP-19.0.2 The ref may refer to a git commit sha or the tag or the branch. In this case the git tag. Some asdf plugins support it. asdf-erlang does.

Not all tools gets installed on `asdf install` � Issue #410 � asdf-vm , Clean installation of MacOS Catalina 10.15.4 Tried with erlang 21.0, 22.0, and export KERL_CONFIGURE_OPTIONS="--without-javac" ➜ ~ asdf install erlang jinterface : Java compiler disabled by user APPLICATIONS� I'm studying the Erlang JInterface package, install erlang with asdf without jinterface. 1. Elixir - Starting a Java JInterface OTP node under supervision.

Unable to install erlang on mac os 10.15.4 � Issue #127 � asdf-vm , Untested prior versions, but it fails to install: ➜ asdf install erlang 22.0.7 /.asdf/ plugins/erlang/kerl-home/builds/asdf_22.0.7/otp_src_22.0.7/lib/jinterface' com/ ericsson/otp/erlang/OtpOutputStream.java:109: error: tag not� asdf-vm . Manage multiple runtime versions with a single CLI tool, extendable via plugins - docs at asdf-vm.com. asdf-vm is a CLI tool that can manage multiple language runtime versions on a per-project basis. It is like gvm, nvm, rbenv & pyenv (and more) all in one! Simply install your language's plugin! Why use asdf-vm? single CLI for

Unable to install erlang 22.0.7 � Issue #113 � asdf-vm/asdf-erlang , This document describes how to build and install Erlang/OTP-23. --{with, without}-javac - Java compiler (without implies that the jinterface application won't be� 1 The Jinterface Package. The Jinterface package provides a set of tools for communication with Erlang processes. It can also be used for communication with other Java processes using the same package, as well as C processes using the Erl_Interface library.