From aeaebda94a30c554f55eeac9bd69d556f1ada944 Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Thu, 11 May 2006 13:08:41 +0000 Subject: [PATCH] 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 --- general/prog/jdk.xml | 24 ++++++++++-------------- introduction/welcome/changelog.xml | 5 +++++ 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/general/prog/jdk.xml b/general/prog/jdk.xml index 97bced0f2f..2e33bdcea2 100644 --- a/general/prog/jdk.xml +++ b/general/prog/jdk.xml @@ -4,18 +4,6 @@ %general-entities; - - - - - - - @@ -234,8 +222,8 @@ cd .. export PATH_HOLD=${PATH} && export PATH=${PATH}:${JAVA_HOME}/bin - The source code is contained in a self-extracting - jar file. You + The source code is contained in self-extracting + jar 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 jdk-build directory @@ -297,6 +285,14 @@ export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts + To test the results, you can run one of the provided demo programs + using the newly created java binary. Issue the + following commands: + +cd j2sdk-image/demo/jfc/Java2D && +../../../bin/java -jar Java2Demo.jar && +cd ../../../.. + Now, as the root user, install the JDK: diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 7f473eb75c..ca1956da9e 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,11 @@ May 11th, 2006 + + [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. + [randy] - Added commands to the cpio instructions to create alternate forms of the documentation.