mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
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
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6047 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
ff55539b3c
commit
aeaebda94a
@ -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 @@ cd ..</userinput></screen>
|
||||
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 @@ export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</userinput></scr
|
||||
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>
|
||||
|
||||
|
@ -44,6 +44,11 @@
|
||||
<listitem>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user