DuckQueen
DuckQueen

Reputation: 800

Which programming languages can only run on JVM?

Depending on where you live, trying to download the JVM may result in a message like this:

The Java(TM) cannot be downloaded to your machine. You are located in an embargoed country.

In my opinion, teachers in IT should inform children about problems that can emerge from this restricted access (OpenJVM is not Oracle JVM and is not used in enterprise/government). No official JVM updates means no fixing of vulnerabilities, exploits, bugs and so on. If JVM is officially unavailable it is reason enough to inform children about the possible consequences.

Hence my question: what languages can only run on JVM/OpenJVM?

Upvotes: 4

Views: 260

Answers (2)

Am_I_Helpful
Am_I_Helpful

Reputation: 19158

You can't download the JVM officially from the www.java.com website OR other Oracle's websites as it has been embargoed for your nation. But, there are still other means (sources) like en.softonic.com and several others which won't bar you for downloading the JVM.

Next, once you have JVM installed in your machine, you can run and execute all the JVM supported languages like Java, Scala, Jython and so on in your machine. It has nothing to do with your location and position once you have JVM in your machine. I wish you successful alternate downloads and enjoy the languages like Java, etc.

Also, please refer to this link for list of more such languages:

Upvotes: 3

Theodoros Chatzigiannakis
Theodoros Chatzigiannakis

Reputation: 29213

Java bytecode can be recompiled to LLVM and the same probably applies for Scala - quite possibly for all of them. Clojure also has an implementation on the CLR. All other languages that can run on the JVM already have their own implementations (like Python and Ruby).

Technically, I don't think there are many languages that can only run on (Oracle's) JVM. The question, of course, is whether all the alternative implementations are of any help to you, considering that they may be forbidden as well.

Furthermore, I sense that this isn't the point of your question: you said that a given alternative may not be used over there because it isn't an "official" product. If people, corporations or the government actively and consciously choose a specific implementation over any alternatives, then by definition there is no answer for them.

Upvotes: 4

Related Questions