| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.26 2006/07/20 23:55:32 rane Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.27 2006/07/25 08:13:47 rane Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/java.xml"> |
5 | <guide link="/doc/en/java.xml"> |
| 6 | <title>Gentoo Java Guide</title> |
6 | <title>Gentoo Java Guide</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| 9 | <mail link="karltk@gentoo.org">Karl Trygve Kalleberg</mail> |
9 | <mail link="karltk@gentoo.org">Karl Trygve Kalleberg</mail> |
| 10 | </author> |
10 | </author> |
| 11 | <author title="Author"> |
11 | <author title="Author"> |
| 12 | <mail link="nichoj@gentoo.org">Joshua Nichols</mail> |
12 | <mail link="nichoj@gentoo.org">Joshua Nichols</mail> |
| 13 | </author> |
13 | </author> |
| 14 | <author title="Editor"> |
14 | <author title="Editor"> |
| 15 | <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> |
15 | <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> |
| 16 | </author> |
16 | </author> |
| 17 | |
17 | |
| 18 | <abstract> |
18 | <abstract> |
| 19 | This guide will introduce you to Java and explain how to use Java with Gentoo |
19 | This guide will introduce you to Java and explain how to use Java with Gentoo |
| 20 | Linux. |
20 | Linux. |
| 21 | </abstract> |
21 | </abstract> |
| 22 | |
22 | |
| 23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 25 | <license/> |
25 | <license/> |
| 26 | |
26 | |
| 27 | <version>0.4</version> |
27 | <version>0.5</version> |
| 28 | <date>2006-06-24</date> |
28 | <date>2006-07-24</date> |
| 29 | |
29 | |
| 30 | <chapter> |
30 | <chapter> |
| 31 | <title>What is Java?</title> |
31 | <title>What is Java?</title> |
| 32 | <section> |
32 | <section> |
| 33 | <title>Overview</title> |
33 | <title>Overview</title> |
| 34 | <body> |
34 | <body> |
| 35 | |
35 | |
| 36 | <p> |
36 | <p> |
| 37 | Java is a programming language developed by engineers of Sun Microsystems. The |
37 | Java is a programming language developed by engineers of Sun Microsystems. The |
| 38 | language is object-oriented and designed to run on multiple platforms without |
38 | language is object-oriented and designed to run on multiple platforms without |
| 39 | the need of recompiling code for each platform. Although Java can be compiled |
39 | the need of recompiling code for each platform. Although Java can be compiled |
| 40 | as a native program, much of Java's popularity can be attributed to its |
40 | as a native program, much of Java's popularity can be attributed to its |
| 41 | portability, along with other features such as garbage collection. To make |
41 | portability, along with other features such as garbage collection. To make |
| 42 | platform independence possible the Java compiler compiles the Java code to an |
42 | platform independence possible the Java compiler compiles the Java code to an |
| 43 | intermediate representation called "Java bytecode" that runs on a JRE (Java |
43 | intermediate representation called "Java bytecode" that runs on a JRE (Java |
| … | |
… | |
| 63 | <body> |
63 | <body> |
| 64 | |
64 | |
| 65 | <p> |
65 | <p> |
| 66 | Gentoo provides numerous JREs and JDKs. Among the current alternatives, we |
66 | Gentoo provides numerous JREs and JDKs. Among the current alternatives, we |
| 67 | have: |
67 | have: |
| 68 | </p> |
68 | </p> |
| 69 | |
69 | |
| 70 | <table> |
70 | <table> |
| 71 | <tr> |
71 | <tr> |
| 72 | <th>Vendor</th> |
72 | <th>Vendor</th> |
| 73 | <th>JDK</th> |
73 | <th>JDK</th> |
| 74 | <th>JRE</th> |
74 | <th>JRE</th> |
| 75 | </tr> |
75 | </tr> |
| 76 | <tr> |
76 | <tr> |
| 77 | <ti>The Blackdown Java Kit</ti> |
77 | <ti>The Blackdown Java Kit</ti> |
| 78 | <ti>dev-java/backdown-jdk</ti> |
78 | <ti>dev-java/blackdown-jdk</ti> |
| 79 | <ti>dev-java/blackdown-jre</ti> |
79 | <ti>dev-java/blackdown-jre</ti> |
| 80 | </tr> |
80 | </tr> |
| 81 | <tr> |
81 | <tr> |
| 82 | <ti>Sun's Java Kit</ti> |
82 | <ti>Sun's Java Kit</ti> |
| 83 | <ti>dev-java/sun-jdk</ti> |
83 | <ti>dev-java/sun-jdk</ti> |
| 84 | <ti>dev-java/sun-jre-bin</ti> |
84 | <ti>dev-java/sun-jre-bin</ti> |
| 85 | </tr> |
85 | </tr> |
| 86 | <tr> |
86 | <tr> |
| 87 | <ti>The IBM Java Kit</ti> |
87 | <ti>The IBM Java Kit</ti> |
| 88 | <ti>dev-java/ibm-jdk-bin</ti> |
88 | <ti>dev-java/ibm-jdk-bin</ti> |
| 89 | <ti>dev-java/ibm-jre-bin</ti> |
89 | <ti>dev-java/ibm-jre-bin</ti> |
| 90 | </tr> |
90 | </tr> |
| 91 | <tr> |
91 | <tr> |
| 92 | <ti>The Compaq Java Kit for Alpha/Linux/GNU</ti> |
92 | <ti>The Compaq Java Kit for Alpha/Linux/GNU</ti> |
| 93 | <ti>dev-java/compaq-jdk</ti> |
93 | <ti>dev-java/compaq-jdk</ti> |