logoalt Hacker News

7bityesterday at 7:57 PM5 repliesview on HN

Read again...

Here's what you need to do for elixir:

Download and run the Erlang installer Download and run the Elixir installer

Here for Java: Download and run the Java SDK

And for Python: Download and run the Python installer


Replies

sbuttgereityesterday at 8:20 PM

If you're going to try and use this analogy, you need to compare Elixir to Kotlin or Scala or Clojure rather than Java. Elixir is a language written for the BEAM which was created for Erlang. The BEAM happened to be useful VM for these other languages such as Elixir, Gleam, LFE, & Luerl.

show 1 reply
freedombenyesterday at 8:23 PM

For Java you need a JRE and JDK depending on whether you're just running or also building. That they are bundled (for Windows) is slightly convenient, but they're not bundled on Linux so what you're saying is OS dependent

show 1 reply
dematzyesterday at 8:11 PM

Is your issue something with the runtime itself, or just the difficulty of installing it?

show 1 reply
sokolsyesterday at 8:15 PM

To use Python/Java you have to download and install an OS. (Though some versions might run on bare metal)

WolfeReaderyesterday at 8:09 PM

Here's what you need for Java:

Download SDKMan/Jenv

Install the version(s) of Java you need for your projects

Make sure your JAVA_HOME environment variable is set

Ensure your IDEs locate the correct Java home

Compared to all that, Elixir's two installers are trivial.

And if you have a competent package manager, you can just tell it to get Elixir and it'll handle Erlang for free.

show 1 reply