Ignore:
Timestamp:
01/27/2016 11:21:15 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/java.xml

    ra7e1ac8 r2037ec4  
    77  <!ENTITY anduin-download             "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;">
    88  <!ENTITY openjdk-download-binary-x86 "&anduin-download;/OpenJDK-&openjdk-version;-i686-bin.tar.xz">
    9   <!ENTITY openjdk-bin-md5sum-x86      "752a869d9dfb6c3a978f59f87eedafbf">
     9  <!ENTITY openjdk-bin-md5sum-x86      "28e04ceb0af89c1703bd372c35e02673">
    1010  <!ENTITY openjdk-bin-size-x86        "57 MB">
    1111  <!ENTITY openjdk-bin-buildsize-x86   "166 MB">
    1212
    1313  <!ENTITY openjdk-download-binary-x64 "&anduin-download;/OpenJDK-&openjdk-version;-x86_64-bin.tar.xz">
    14   <!ENTITY openjdk-bin-md5sum-x64      "91331d899c4f42dfe5f4016e173cafab">
     14  <!ENTITY openjdk-bin-md5sum-x64      "cf7bff6f4d5bdb2f15eafc2b40ac2e14">
    1515  <!ENTITY openjdk-bin-size-x64        "58 MB">
    1616  <!ENTITY openjdk-bin-buildsize-x64   "169 MB">
     
    3636    <para>Java is different from most of the packages in LFS and BLFS. It
    3737    is a programming language that works with files of byte codes to obtain
    38     instructions and executes then in a Java Virtual Machine (JVM). An 
     38    instructions and executes then in a Java Virtual Machine (JVM). An
    3939    introductory java program looks like:</para>
    4040
    41 <screen><literal>public class HelloWorld 
     41<screen><literal>public class HelloWorld
    4242{
    43     public static void main(String[] args) 
     43    public static void main(String[] args)
    4444    {
    4545        System.out.println("Hello, World");
     
    6565    jar files. This is a standard list of colon-separated directory names
    6666    similar to the <envar>PATH</envar> environment variable.</para>
    67  
     67
    6868  </sect2>
    6969
     
    7373    <para>Creating a JVM from source requires a set of circular dependencies.
    7474    The first thing that's needed is a set of programs called a Java Development
    75     Kit (JDK).  This set of programs includes <command>java</command>, 
    76     <command>javac</command>, <command>jar</command>, and several others. It 
     75    Kit (JDK).  This set of programs includes <command>java</command>,
     76    <command>javac</command>, <command>jar</command>, and several others. It
    7777    also includes several base <emphasis>jar</emphasis> files.</para>
    7878
     
    8282    version.</para>
    8383
    84     &lfs77_checked;
     84    &lfs78_checked;
    8585
    8686    <bridgehead renderas="sect3">Binary Package Information</bridgehead>
     
    127127
    128128  <sect2 role="installation">
    129     <title>Installation of the Java Binary JDK</title>
    130 
     129    <title>Installation of the Java BinaryJDK </title>
    131130    <para>Begin by extracting the appropriate binary tarball for your
    132131    architecture and changing to the extracted directory. Install the binary
     
    134133    <systemitem class="username">root</systemitem> user:</para>
    135134
    136 <screen role="root"><userinput>install -v -dm755 /opt/OpenJDK-&openjdk-version;-bin &amp;&amp;
     135<screen role="root"><userinput>install -vdm755 /opt/OpenJDK-&openjdk-version;-bin &amp;&amp;
    137136mv -v * /opt/OpenJDK-&openjdk-version;-bin         &amp;&amp;
    138137chown -R root:root /opt/OpenJDK-&openjdk-version;-bin</userinput></screen>
     
    144143    </para>
    145144
    146 <screen role="root"><userinput>ln -sfnv OpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen>
     145<screen role="root"><userinput>ln -sfn OpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen>
    147146
    148147    <para>
     
    151150    </para>
    152151
    153 <!--
    154 If you don't want to compile the
    155       sources, skip ahead to the <xref linkend='openjdk-config'/> section.
    156     Otherwise, continue to the <xref linkend='apache-ant'/>,
    157     <xref linkend='junit'/>, and <xref linkend='openjdk'/> sections.</para>
    158 -->
    159    
    160152  </sect2>
    161153
Note: See TracChangeset for help on using the changeset viewer.