java是一种开源编程语言吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2030814/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 02:48:35  来源:igfitidea点击:

Is java an open source programming language?

javaopen-source

提问by GuruKulki

I know that Python, Ruby, Perl are all open source, but is Java really an open source programming language?

我知道 Python、Ruby、Perl 都是开源的,但 Java 真的是开源编程语言吗?

I have been searching on Google too, but I didn't find a proper answer.

我也一直在谷歌上搜索,但我没有找到正确的答案。

采纳答案by paxdiablo

Yes, or it will be eventually (there may still be some things they're working on replacing since they were used under licence). Sun committedto making it open source and you can download it from them. Check out OpenJDK.

是的,或者它最终会是(由于它们是在许可下使用的,因此他们可能仍在努力更换某些东西)。Sun承诺将其开源,您可以从他们那里下载。查看OpenJDK

回答by kusma

A programming language isn't in it self open source or not, but an implementation of it might be. Yes, there are open source implementations of Java. Sun's Java implementation (the most popular one), is one of them.

编程语言本身不是开源的,但它的实现可能是。是的,有 Java 的开源实现。Sun 的 Java 实现(最流行的实现)就是其中之一。

回答by Thomas Owens

The "official" SUN implementation of the language itself is not, but there is a community-driven process (not sure how well it works) for suggestions to improve the language - the Java Community Process. There are also open implementations of the Java development tools and runtime, such as OpenJDK.

语言本身的“官方” SUN 实现不是,但是有一个社区驱动的流程(不确定它的效果如何)来提供改进语言的建议 - Java Community Process。还有 Java 开发工具和运行时的开放实现,例如OpenJDK

回答by curtisk

Most of "Java" is open source, there is some small portions that Sun doesn't have the rights to open up...check out the site for OpenJDKfor more info

大多数“Java”是开源的,有一些小部分 Sun 无权打开……查看OpenJDK站点以获取更多信息

回答by Horatiu Jeflea

OpenJDK after you download it in a src folder you have windows,solaris,share,linux in the share folder, you can find classes. There you can see the source code of all classes (ex. JButton).

将OpenJDK下载到src文件夹中后,您的共享文件夹中有windows,solaris,share,linux,您可以找到类。在那里您可以看到所有类的源代码(例如 JButton)。

回答by Eastern Monk

The phrase "Java Programming Language" refers to the specification as provided by Sun (now oracle). Sun provides a reference implementation of Java Virtual Machine and Java Compiler. Both of which are not open source (at least not fully like say Python).

短语“Java 编程语言”指的是 Sun(现在是 oracle)提供的规范。Sun 提供了 Java 虚拟机和 Java 编译器的参考实现。两者都不是开源的(至少不像 Python 那样完全)。

However OpenJDK for example is a complete open-source implementation of JAVA programming language. There might be more as well.

但是,例如 OpenJDK 是 JAVA 编程语言的完整开源实现。可能还有更多。

Most of the programmers think of Java as a programming language provided by Sun. I think Sun only provides the language specification implementation can be done by anyone under any license.

大多数程序员认为 Java 是 Sun 提供的一种编程语言。我认为 Sun 只提供了任何人都可以在任何许可下完成的语言规范实现。

回答by Shyam D

On November 13, 2006, Sun released much of Java as free and open source software, (FOSS), under the terms of the GNU General Public License (GPL).On May 8, 2007, Sun finished the process, making all of Java's core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.

2006 年 11 月 13 日,Sun 根据 GNU 通用公共许可证 (GPL) 的条款发布了大部分 Java 作为免费和开源软件 (FOSS)。2007 年 5 月 8 日,Sun 完成了这一过程,除了 Sun 不拥有版权的一小部分代码外,所有 Java 核心代码都可以在自由软件/开源分发条款下使用。

OpenJDK (Open Java Development Kit)is a free and open source implementation of the Java programming language. It is the result of an effort Sun Microsystems began in 2006. The implementation is licensed under the GNU General Public License (GNU GPL) with a linking exception.

OpenJDK(Open Java Development Kit)是 Java 编程语言的免费开源实现。它是 Sun Microsystems 于 2006 年开始努力的结果。该实现根据 GNU 通用公共许可证 (GNU GPL) 获得许可,但有一个链接例外。

Why there are still people that say Java is not open source or free as in free speech ?

为什么还有人说 Java 不像言论自由那样开源或免费?

回答by illahi

Java Language is open source there is few segments that Sun doesn't have the rights to open up...check for more OpenJDK

Java 语言是开源的,Sun 无权开放的部分很少……查看更多OpenJDK

回答by Shyamal Madura Patabendige

Oracle annouced, that they are along with IBM and Red Har moving Java to Open source platform, Eclipse Foundation.

Oracle 宣布,他们与 IBM 和 Red Har 一起将 Java 迁移到开源平台 Eclipse Foundation。

https://blogs.oracle.com/theaquarium/opening-up-ee-update

https://blogs.oracle.com/theaquarium/opening-up-ee-update

回答by ABcDexter

Not yet, but it is soon about to go open source.

还没有,但很快就会开源。

source:

来源:



Quoting from https://blogs.oracle.com/java-platform-group/faster-and-easier-use-and-redistribution-of-java-se:

引自https://blogs.oracle.com/java-platform-group/faster-and-easier-use-and-redistribution-of-java-se

  • Oracle is proposing to increase the release cadence of Java SE to every six months
  • Oracle will simplify how developers, customers, and consumers use Java SE
  • Starting with JDK 9 GA Oracle plans to ship OpenJDK builds under the GPL
  • Oracle has proposed a time-driven release model for Java SE instead of the historical feature-driven model
  • Oracle JDK will contribute previously commercial features such as Java Flight Recorder to OpenJDK
  • Oracle will work with other OpenJDK contributors to make the community infrastructure complete, modern and accessible
  • The Oracle JDK will continue as a commercial long-term support offering
  • The Oracle JDK will primarily be for commercial and support customers once OpenJDK binaries are interchangeable with the Oracle JDK (target late 2018) Oracle will continue to enhance the packaging and distribution of complete ready-to-run applications
  • Oracle 提议将 Java SE 的发布节奏提高到每六个月
  • Oracle 将简化开发人员、客户和消费者使用 Java SE 的方式
  • 从 JDK 9 GA 开始,Oracle 计划在 GPL 下发布 OpenJDK 版本
  • Oracle 为 Java SE 提出了时间驱动的发布模型,而不是历史上的特征驱动模型
  • Oracle JDK 将以前的商业特性如 Java Flight Recorder 贡献给 OpenJDK
  • Oracle 将与其他 OpenJDK 贡献者合作,使社区基础设施完整、现代且易于访问
  • Oracle JDK 将继续作为商业长期支持产品
  • 一旦 OpenJDK 二进制文件可与 Oracle JDK 互换(目标是 2018 年末),Oracle JDK 将主要面向商业和支持客户

We have moved Java EE onto :http://openjdk.java.net/projects/jdk9/spec/

我们已将 Java EE 移至:http: //openjdk.java.net/projects/jdk9/spec/

Further reads:

进一步阅读:

  1. https://blogs.oracle.com/theaquarium/opening-up-ee-update
  2. https://blogs.oracle.com/java-platform-group/java-se-offerings
  3. https://blogs.oracle.com/java/java-9-release-now-available
  4. https://blogs.oracle.com/java-platform-group/convergence-of-oracle-java-se-embedded-with-oracle-jdk
  1. https://blogs.oracle.com/theaquarium/opening-up-ee-update
  2. https://blogs.oracle.com/java-platform-group/java-se-offerings
  3. https://blogs.oracle.com/java/java-9-release-now-available
  4. https://blogs.oracle.com/java-platform-group/convergence-of-oracle-java-se-embedded-with-oracle-jdk