summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/articles/zh/java-trap.html
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/blog/articles/zh/java-trap.html')
-rw-r--r--talermerchantdemos/blog/articles/zh/java-trap.html72
1 files changed, 49 insertions, 23 deletions
diff --git a/talermerchantdemos/blog/articles/zh/java-trap.html b/talermerchantdemos/blog/articles/zh/java-trap.html
index 0844c3d..b91bf25 100644
--- a/talermerchantdemos/blog/articles/zh/java-trap.html
+++ b/talermerchantdemos/blog/articles/zh/java-trap.html
@@ -1,22 +1,30 @@
<!--#set var="ENGLISH_PAGE" value="/philosophy/java-trap.en.html" -->
<!--#include virtual="/server/header.zh-cn.html" -->
-<!-- Parent-Version: 1.77 -->
+<!-- Parent-Version: 1.96 -->
+<!-- This page is derived from /server/standards/boilerplate.html -->
+<!--#set var="TAGS" value="essays licensing traps" -->
+<!--#set var="DISABLE_TOP_ADDENDUM" value="yes" -->
<!-- This file is automatically generated by GNUnited Nations! -->
<title>戴镣铐的自由 - Java 陷阱 - GNU 工程 - 自由软件基金会</title>
<!--#include virtual="/philosophy/po/java-trap.translist" -->
<!--#include virtual="/server/banner.zh-cn.html" -->
-<h2>戴镣铐的自由 - Java 陷阱</h2>
+<!--#include virtual="/philosophy/ph-breadcrumb.zh-cn.html" -->
+<!--GNUN: OUT-OF-DATE NOTICE-->
+<!--#include virtual="/server/top-addendum.zh-cn.html" -->
+<div class="article reduced-width">
-<p><a href="http://www.stallman.org/">Richard Stallman</a> 著</p>
+<h2>戴镣铐的自由 - Java 陷阱</h2>
+<address class="byline"><a href="https://www.stallman.org/">理查德·斯托曼</a> 著</address>
-<div class="announcement"><blockquote><h3>前言</h3>
+<div class="emph-box" style="background: none">
+<h3 class="footnote">前言</h3>
<p>自这篇文章首次发布以来,Sun(现在是 Oracle 的一部分)已经根据 GNU 通用公共许可证<a
-href="http://www.fsf.org/news/fsf-welcomes-gpl-java.html">重新授权了</a>其大部分 Java
-平台参考实现,且现在有一个自由的 Java 开发环境。因此,Java 语言本身不再是陷阱。</p>
+href="https://www.fsf.org/news/fsf-welcomes-gpl-java.html">重新授权了</a>其大部分
+Java 平台参考实现,且现在有一个自由的 Java 开发环境。因此,Java 语言本身不再是陷阱。</p>
<p>但是,您必须小心,因为并非每个 Java 平台都是自由的。Sun 继续分发非自由的可执行 Java 平台,其他公司也这样做。</p>
@@ -35,10 +43,10 @@ IceTea,但其中一些发行版包括非自由的 Java 平台。(请注意
的历史中吸取教训,以便将来避免其他陷阱。</p>
<p>另请参见:<a href="/philosophy/javascript-trap.html"> JavaScript 陷阱</a>。</p>
-</blockquote>
</div>
+<hr class="no-display" />
-<p>2004 年 4 月 12 日</p>
+<p><em>2004 年 4 月 12 日</em></p>
<p>
如果你的程序是自由软件,这基本上是道德的&mdash;&mdash;但有一个陷阱,您必须警惕。您的程序虽然本身是自由的,但可能受其依赖的非自由软件的限制。由于问题对于
@@ -47,8 +55,7 @@ Java 程序而言今天最为突出,因此我们将其称为 Java 陷阱。
<p>
如果程序的用户拥有一些关键的自由,则该程序为自由软件。粗略地说,它们是:运行程序的自由,学习和更改源代码的自由,重新分发源代码和二进制文件的自由以及发布改进版本的自由。(请参阅
-<a
-href="/philosophy/free-sw.html">http://www.gnu.org/philosophy/free-sw.html</a>。)一个有源代码的程序是不是自由软件,只依赖于其许可证的含义。
+<a href="/philosophy/free-sw.html">自由软件定义</a>。)一个有源代码的程序是不是自由软件,只依赖于其许可证的含义。
</p>
<p>
@@ -69,8 +76,9 @@ href="/philosophy/free-sw.html">http://www.gnu.org/philosophy/free-sw.html</a>
<p>
Sun 的 Java 实现不是自由的。标准 Java 库也是非自由的。我们确实有 Java 的自由实现,例如 <a
-href="http://gcc.gnu.org/java/">GNU Java编译器</a>(GCJ)和 <a
-href="/software/classpath">GNU Classpath</a>,但它们尚不支持所有功能。我们仍在追赶。
+href="https://objectcomputing.com/resources/publications/sett/january-2003-gcj-the-gnu-compiler-for-java">GNU
+Java编译器</a>(GCJ)和 <a href="/software/classpath">GNU
+Classpath</a>,但它们尚不支持所有功能。我们仍在追赶。
</p>
<p>
@@ -87,9 +95,9 @@ Java 陷阱中。它在自由世界中将无法使用。
<p>
Sun 继续开发其他标准 Java 库,并且几乎所有的库都是非自由的。在许多情况下,即使是库的&ldquo;规范&rdquo;也是商业秘密,并且 Sun
针对这些规范的最新许可证禁止发布除规范的完整实现之外的任何内容。(请参看 <a
-href="http://jcp.org/aboutJava/communityprocess/JSPA2.pdf">http://jcp.org/aboutJava/communityprocess/JSPA2.pdf</a>
+href="https://jcp.org/aboutJava/communityprocess/JSPA2.pdf">https://jcp.org/aboutJava/communityprocess/JSPA2.pdf</a>
和 <a
-href="http://jcp.org/aboutJava/communityprocess/final/jsr129/j2me_pb-1_0-fr-spec-license.html">http://jcp.org/aboutJava/communityprocess/final/jsr129/j2me_pb-1_0-fr-spec-license.html</a>
+href="https://jcp.org/aboutJava/communityprocess/final/jsr129/j2me_pb-1_0-fr-spec-license.html">https://jcp.org/aboutJava/communityprocess/final/jsr129/j2me_pb-1_0-fr-spec-license.html</a>
等示例。)
</p>
@@ -113,8 +121,8 @@ shell 脚本都必须由非自由 shell
<p>
为了使 Java 代码免受 Java 陷阱的影响,请安装自由的 Java
开发环境并使用它。一般来说,无论使用哪种语言,请睁大眼睛,检查代码所依赖的程序的自由状态。验证程序是否自由的最简单方法是在“自由软件目录”(<a
-href="http://www.fsf.org/directory">http://www.fsf.org/directory</a>)查找。如果程序不在目录中,则可以对照自由软件许可证列表(<a
-href="/licenses/license-list.html">http://www.gnu.org/licenses/license-list.html</a>)审查其许可证。
+href="https://www.fsf.org/directory">自由软件目录</a>)查找。如果程序不在目录中,则可以对照 <a
+href="/licenses/license-list.html">自由软件许可证列表</a> 审查其许可证。
</p>
<p>
@@ -123,9 +131,10 @@ Classpath 验证你的程序,并报告在已实现的类中遇到的任何问
需要花费时间;如果非自由库的还在持续增加,我们可能永远不会有所有最新的库。因此,请不要给您的自由软件套上枷锁。今天,当您编写应用程序时,请一开始就按照在自由工具上运行的目标来编写。
</p>
-<h3>请同时参看:</h3>
+<h3 class="footnote">请同时参看:</h3>
<p><a href="/philosophy/sun-in-night-time.html">The Curious Incident of Sun in
the Night-Time</a></p>
+</div>
<div class="translators-notes">
@@ -135,7 +144,7 @@ the Night-Time</a></p>
<!-- for id="content", starts in the include above -->
<!--#include virtual="/server/footer.zh-cn.html" -->
-<div id="footer">
+<div id="footer" role="contentinfo">
<div class="unprintable">
<p>请将有关自由软件基金会(FSF)&amp; GNU 的一般性问题发送到<a
@@ -154,16 +163,32 @@ href="mailto:webmasters@gnu.org">&lt;webmasters@gnu.org&gt;</a>。</p>
&lt;web-translators@gnu.org&gt;</a>.</p>
- <p>For information on coordinating and submitting translations of
+ <p>For information on coordinating and contributing translations of
our web pages, see <a
href="/server/standards/README.translations.html">Translations
README</a>. -->
我们尽最大努力来提供精准和高质量的翻译,但难免会存在错误和不足。如果您在这方面有评论或一般性的建议,请发送至 <a
href="mailto:web-translators@gnu.org">&lt;web-translators@gnu.org&gt;</a>。</p><p>关于进行协调与提交翻译的更多信息参见
-<a href="/server/standards/README.translators.html">《译者指南》</a>。</p>
+<a href="/server/standards/README.translations.html">《译者指南》</a>。</p>
</div>
-<p>Copyright &copy; 2004, 2010, 2015 Richard Stallman</p>
+<!-- Regarding copyright, in general, standalone pages (as opposed to
+ files generated as part of manuals) on the GNU web server should
+ be under CC BY-ND 4.0. Please do NOT change or remove this
+ without talking with the webmasters or licensing team first.
+ Please make sure the copyright date is consistent with the
+ document. For web pages, it is ok to list just the latest year the
+ document was modified, or published.
+
+ If you wish to list earlier years, that is ok too.
+ Either "2001, 2002, 2003" or "2001-2003" are ok for specifying
+ years, as long as each year in the range is in fact a copyrightable
+ year, i.e., a year in which the document was published (including
+ being publicly visible on the web or in a revision control system).
+
+ There is more detail about copyright years in the GNU Maintainers
+ Information document, www.gnu.org/prep/maintain. -->
+<p>Copyright &copy; 2004, 2010, 2015, 2021 Richard Stallman</p>
<p>本页面使用<a rel="license"
href="http://creativecommons.org/licenses/by-nd/4.0/">Creative Commons
@@ -175,16 +200,17 @@ Attribution-NoDerivatives 4.0 International License</a>授权。</p>
<!--TRANSLATORS: Use space (SPC) as msgstr if you don't want credits.-->
<b>翻译</b>:<a rel="team" href="mailto:nios34@disroot.org">Nios34</a><br></br>
<b>翻译团队</b>:<a rel="team"
-href="https://savannah.gnu.org/projects/www-zh-cn/">&lt;CTT&gt;</a>,2020。</div>
+href="https://savannah.gnu.org/projects/www-zh-cn/">&lt;CTT&gt;</a>,2020,2021。</div>
<p class="unprintable"><!-- timestamp start -->
最后更新:
-$Date: 2020/08/17 10:00:28 $
+$Date: 2021/10/01 17:39:49 $
<!-- timestamp end -->
</p>
</div>
</div>
+<!-- for class="inner", starts in the banner include -->
</body>
</html>