r6047 - in trunk/BOOK: general/prog introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Thu May 11 06:08:42 PDT 2006


Author: randy
Date: 2006-05-11 07:08:41 -0600 (Thu, 11 May 2006)
New Revision: 6047

Modified:
   trunk/BOOK/general/prog/jdk.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added commands to the JDK instructions to run a demo program with the newly created java binary to provide a basic test of the build

Modified: trunk/BOOK/general/prog/jdk.xml
===================================================================
--- trunk/BOOK/general/prog/jdk.xml	2006-05-11 05:21:21 UTC (rev 6046)
+++ trunk/BOOK/general/prog/jdk.xml	2006-05-11 13:08:41 UTC (rev 6047)
@@ -4,18 +4,6 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-    <!-- Inserted as a reminder to do this. The mention of a test suite
-         is usually right before the root user installation commands. Please
-         delete these 12 (including one blank) lines after you are done.-->
-
-    <!-- Use one of the two mentions below about a test suite,
-         delete the line that is not applicable. Of course, if the
-         test suite uses syntax other than "make check", revise the
-         line to reflect the actual syntax to run the test suite -->
-
-    <!-- <para>This package does not come with a test suite.</para> -->
-    <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
-
   <!ENTITY jdk-download-source "https://tiger.dev.java.net/jdk_5_0_05.html">
   <!ENTITY jdk-download-binary "http://java.sun.com/j2se/1.5.0/download.jsp">
   <!ENTITY jdk-source-md5sum   "&sources-anduin-http;/j/jdk-&jdk-src-version;.md5sums">
@@ -234,8 +222,8 @@
 export PATH_HOLD=${PATH} &&
 export PATH=${PATH}:${JAVA_HOME}/bin</userinput></screen>
 
-    <para>The source code is contained in a self-extracting
-    <filename class='extension'>jar</filename> file.  You
+    <para>The source code is contained in self-extracting
+    <filename class='extension'>jar</filename> files.  You
     will need to be in a windowed environment to extract the sources.
     Create a directory to store the extracted sources.  Choose the newly
     created <filename class="directory">jdk-build</filename> directory
@@ -297,6 +285,14 @@
 make &&
 cd ../build/linux-i?86</userinput></screen>
 
+    <para>To test the results, you can run one of the provided demo programs
+    using the newly created <command>java</command> binary. Issue the
+    following commands:</para>
+
+<screen><userinput>cd j2sdk-image/demo/jfc/Java2D &&
+../../../bin/java -jar Java2Demo.jar &&
+cd ../../../..</userinput></screen>
+
     <para>Now, as the <systemitem class="username">root</systemitem> user,
     install the <application>JDK</application>:</para>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-05-11 05:21:21 UTC (rev 6046)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-05-11 13:08:41 UTC (rev 6047)
@@ -45,6 +45,11 @@
       <para>May 11th, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added commands to the JDK instructions to run a demo
+          program with the newly created java binary to provide a basic test
+          of the build.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Added commands to the cpio instructions to create
           alternate forms of the documentation.</para>
         </listitem>




More information about the blfs-book mailing list