Do you know the difference between a library and a runtime?
The JVM runtime is a runtime. BEAM/OTP/ERTS is a full fledged collection of middleware, libraries, and tools written into/as apart of the Erlang programming language. You can not separate one form the other.