[Fedora Project Wiki] Update of "Docs/Beats/Java" by ThomasFitzsimmons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Fedora Project Wiki" for change notification.

The following page has been changed by ThomasFitzsimmons:
http://fedoraproject.org/wiki/Docs/Beats/Java?action=diff&rev2=75&rev1=74

------------------------------------------------------------------------------
  {{{#!html
- <h2>Java and java-gcj-compat</h2>}}}
+ <h2>IcedTea and java-gcj-compat</h2>}}}
  
- This release of Fedora includes a free and open source Java environment called `java-gcj-compat`.  The `java-gcj-compat` collection includes a tool suite and execution environment that is capable of building and running many useful programs that are written in the Java programming language.
+ === IcedTea ===
  
- [[Admonition("note", "Fedora Does Not Include Java", "Java is a trademark of Sun Microsystems.  `java-gcj-compat` is an entirely free software stack that is '''not''' Java, but may run Java software.")]]
+ This release of Fedora includes the IcedTea environment.  IcedTea is a build harness for Sun's OpenJDK code that replaces encumbered parts of OpenJDK with Free Software replacements.  IcedTea provides a more complete, compatible environment than GCJ, including support for building and running bytecode up to the 1.6 level.  There are a few caveats that users of IcedTea should be aware of:
  
+  * there is no ppc or ppc64 support; ppc and ppc64 users should continue to use GCJ
+  * there is no support for the Java sound APIs
+  * there are a few missing crypto algorithms
+ 
+ === Handling Java Applets with IcedTea and gcjwebplugin ===
+ 
+ The Fedora IcedTea packages also include an adaptation of gcjwebplugin that allows running untrusted applets safely in a web browser.  This is packaged as {{{java-1.7.0-icedtea-plugin}}}.
+ 
+  * gcjwebplugin has no support for the bytecode-to-Javascript bridge, so applets that rely on this bridge will not work
+ 
+  * gcjwebplugin's security policy may be overly restrictive; to enable restricted applets, run {{{firefox -g}}} in a terminal window to see what is being restricted, then grant the restricted permission in {{{/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/security/java.policy}}}
+ 
+ === java-gcj-compat ===
+ 
+ This release of Fedora includes `java-gcj-compat`.  The `java-gcj-compat` collection includes a tool suite and execution environment that is capable of building and running many useful programs that are written in the Java programming language.
+ 
- The [[GetVal(DocsDict,Jname)]] infrastructure has three key components: a '''GNU Java''' runtime (`libgcj`), the '''Eclipse Java''' compiler (`ecj`), and a set of wrappers and links (`java-gcj-compat`) that present the runtime and compiler to the user in a manner similar to other Java environments.
+ The [[GetVal(DocsDict,Jname)]] infrastructure has three key components: a '''GNU''' runtime (`libgcj`), the '''Eclipse''' compiler (`ecj`), and a set of wrappers and links (`java-gcj-compat`) that present the runtime and compiler to the user in a manner similar to Java environments.
  
  The Java software packages in this Fedora release use the `java-gcj-compat` environment.  These packages include '''Open``Office.org Base''', '''Eclipse''', and '''Apache Tomcat'''.  Refer to the Java FAQ at http://www.fedoraproject.org/wiki/JavaFAQ for more information on the `java-gcj-compat` free Java environment in Fedora.
  
@@ -24, +40 @@

  alternatives --config javac
  }}}
  
+ A simpler way to switch java alternatives is using the {{{system-switch-java}}} tool included in Fedora.
- === Handling Java Applets ===
- 
- This release of Fedora includes a preview release of `gcjwebplugin`, a Firefox plugin for Java applets.  `gcjwebplugin` is not enabled by default because although the security implementation in GNU Classpath is being actively developed, it is not mature enough to run untrusted applets safely.  That said, the AWT and Swing implementations in GNU Classpath are now sufficiently mature that they can run many applets deployed on the web.  Adventurous users who want to try `gcjwebplugin` can read `/usr/share/doc/libgcj-4.1.2/README.libgcjwebplugin.so`, as installed by the `libgcj` rpm.  The README explains how to enable the plugin and the risks associated with doing so.
  
  === Fedora and the JPackage Java Packages ===
  

--
Fedora-relnotes-content mailing list
Fedora-relnotes-content@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-relnotes-content

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Gnome Users]     [KDE Users]

  Powered by Linux