Changeset 2037ec4 for general/prog/java.xml
- Timestamp:
- 01/27/2016 11:21:15 PM (8 years ago)
- Branches:
- systemd-13485
- Children:
- 1e76622
- Parents:
- a7e1ac8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/java.xml
ra7e1ac8 r2037ec4 7 7 <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;"> 8 8 <!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"> 10 10 <!ENTITY openjdk-bin-size-x86 "57 MB"> 11 11 <!ENTITY openjdk-bin-buildsize-x86 "166 MB"> 12 12 13 13 <!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"> 15 15 <!ENTITY openjdk-bin-size-x64 "58 MB"> 16 16 <!ENTITY openjdk-bin-buildsize-x64 "169 MB"> … … 36 36 <para>Java is different from most of the packages in LFS and BLFS. It 37 37 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 39 39 introductory java program looks like:</para> 40 40 41 <screen><literal>public class HelloWorld 41 <screen><literal>public class HelloWorld 42 42 { 43 public static void main(String[] args) 43 public static void main(String[] args) 44 44 { 45 45 System.out.println("Hello, World"); … … 65 65 jar files. This is a standard list of colon-separated directory names 66 66 similar to the <envar>PATH</envar> environment variable.</para> 67 67 68 68 </sect2> 69 69 … … 73 73 <para>Creating a JVM from source requires a set of circular dependencies. 74 74 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 77 77 also includes several base <emphasis>jar</emphasis> files.</para> 78 78 … … 82 82 version.</para> 83 83 84 &lfs7 7_checked;84 &lfs78_checked; 85 85 86 86 <bridgehead renderas="sect3">Binary Package Information</bridgehead> … … 127 127 128 128 <sect2 role="installation"> 129 <title>Installation of the Java Binary JDK</title> 130 129 <title>Installation of the Java BinaryJDK </title> 131 130 <para>Begin by extracting the appropriate binary tarball for your 132 131 architecture and changing to the extracted directory. Install the binary … … 134 133 <systemitem class="username">root</systemitem> user:</para> 135 134 136 <screen role="root"><userinput>install -v -dm755 /opt/OpenJDK-&openjdk-version;-bin &&135 <screen role="root"><userinput>install -vdm755 /opt/OpenJDK-&openjdk-version;-bin && 137 136 mv -v * /opt/OpenJDK-&openjdk-version;-bin && 138 137 chown -R root:root /opt/OpenJDK-&openjdk-version;-bin</userinput></screen> … … 144 143 </para> 145 144 146 <screen role="root"><userinput>ln -sfn vOpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen>145 <screen role="root"><userinput>ln -sfn OpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen> 147 146 148 147 <para> … … 151 150 </para> 152 151 153 <!--154 If you don't want to compile the155 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 160 152 </sect2> 161 153
Note:
See TracChangeset
for help on using the changeset viewer.