/[gentoo]/xml/htdocs/doc/en/java.xml
Gentoo

Diff of /xml/htdocs/doc/en/java.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.35 Revision 1.36
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.35 2006/10/15 22:03:16 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.36 2006/10/16 12:18:15 nightmorph 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="nichoj@gentoo.org">Joshua Nichols</mail> 9 <mail link="nichoj@gentoo.org">Joshua Nichols</mail>
10</author> 10</author>
11<author title="Author"> 11<author title="Author">
12 <mail link="karltk@gentoo.org">Karl Trygve Kalleberg</mail> 12 <mail link="karltk@gentoo.org">Karl Trygve Kalleberg</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>
19This guide will introduce you to Java and explain how to use Java with Gentoo 19This guide will introduce you to Java and explain how to use Java with Gentoo
20Linux. 20Linux.
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.11</version> 27<version>0.12</version>
28<date>2006-10-15</date> 28<date>2006-10-16</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>
37Java is a programming language developed by engineers of Sun Microsystems. The 37Java is a programming language developed by engineers of Sun Microsystems. The
38language is object-oriented and designed to run on multiple platforms without 38language is object-oriented and designed to run on multiple platforms without
39the need of recompiling code for each platform. Although Java can be compiled 39the need of recompiling code for each platform. Although Java can be compiled
40as a native program, much of Java's popularity can be attributed to its 40as a native program, much of Java's popularity can be attributed to its
41portability, along with other features such as garbage collection. To make 41portability, along with other features such as garbage collection. To make
42platform independence possible the Java compiler compiles the Java code to an 42platform independence possible the Java compiler compiles the Java code to an
43intermediate representation called "Java bytecode" that runs on a JRE (Java 43intermediate representation called "Java bytecode" that runs on a JRE (Java
489only one will be used by your browser. You can check the list of available 489only one will be used by your browser. You can check the list of available
490plug-ins by running: 490plug-ins by running:
491</p> 491</p>
492 492
493<pre caption="Viewing available plug-ins"> 493<pre caption="Viewing available plug-ins">
494# <i>eselect java-nsplugin list</i> 494# <i>eselect java-nsplugin list</i>
495 [1] sun-jre-bin-1.5 495 [1] sun-jre-bin-1.5
496 [2] blackdown-jre-1.4.2 496 [2] blackdown-jre-1.4.2
497</pre> 497</pre>
498 498
499<p> 499<p>
500In this example, <c>sun-jre-bin</c> is selected for the browser plug-in. 500In this example, <c>sun-jre-bin</c> is selected for the browser plug-in.
501</p> 501</p>
502 502
503<pre caption="Selecting a plug-in"> 503<pre caption="Selecting a plug-in">
504# <i>eselect java-nsplugin sun-jre-bin-1.5</i> 504# <i>eselect java-nsplugin set sun-jre-bin-1.5</i>
505</pre> 505</pre>
506 506
507<p> 507<p>
508Verify that the correct plug-in was selected: 508Verify that the correct plug-in was selected:
509</p> 509</p>
510 510
511<pre caption="Verifying the correct plug-in"> 511<pre caption="Verifying the correct plug-in">
512# <i>eselect java-nsplugin list</i> 512# <i>eselect java-nsplugin list</i>
513 [1] sun-jre-bin-1.5 current 513 [1] sun-jre-bin-1.5 current
514 [2] blackdown-jre-1.4.2 514 [2] blackdown-jre-1.4.2
515</pre> 515</pre>
516 516
517<p> 517<p>
518Java.com also provides a link to <uri 518Java.com also provides a link to <uri
519link="http://java.com/en/download/installed.jsp">verify your installed 519link="http://java.com/en/download/installed.jsp">verify your installed

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.20