开发者

Java and JVM platform replacements

Are there any active projects to build an open source replacement for the Java and the JVM?

In my mind to replace the JVM a new project would at least need to run on something like a virtual machine and be cross platform.

I know some people are not happy with the fact that Oracle owns Java now but I'm wondering if the displeasure is enough to s开发者_JS百科ustain a full Java/JVM replacement project.


It's not quite clear to me what is being asked here. An "open source replacement for Java and the JVM" doesn't make much sense, since the term "open source" usually refers to software, but Java and the JVM aren't software, they are specifications.

If you are asking about open source implementations of the Java and JVM specifications, then there are already plenty of those. There's no need to build one. There are sone ugly license restrictions that may make it illegal to call those implementations "Java" or "JVM", though.

If you are asking about open standards that provide an alternative to Java and the JVM, then one such set of standards is ISO/IEC 23270 aka ECMA-334 aka C# and ISO/IEC 23270, 23271, TR 23272, TR 25438 aka ECMA-335 aka CLI. Together also commonly referred to as .NET.

They have similar scope and goals as Java and the JVM, with the main difference being that they are published as open standards by two renowned independent international standards bodies, whereas the Java and JVM specifications are proprietary standards published by a bespoke standards body owned by a single company.

Like Java and the JVM, there are open source implementations (well, one open source implementation).


There's OpenJDK and Apache Harmony - the problem is that these are still dependant on Oracle because the compatibility test suite is not free, thus an open source project cannot be officially Java-compatible without Oracle's support. Additionally, there is the issue of patents as seen in the Oracle/Google lawsuit over the Dalvik VM.

As for a replacement of the Java language as well as the VM: it would be very hard for anything like that to gain enough traction to be a serious alternative. I doubt a completely new effort would have a real chance in the face of long established ecosystems like Python, and Ruby.


Most of Java has already (since '06/'07) been open-sourced by Sun/Oracle as OpenJVM. For those parts that haven't, RedHat's IcedTea project provides a full GPL replacement.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜