[Bug 1536] JDK source install instructions seem to be slightly incorrect.

Tushar Teredesai sukucorp at gmail.com
Mon Aug 22 16:21:58 PDT 2005

On 8/22/05, Paul Bowyer <pbowyer at olynet.com> wrote:
> I'm sorry that I didn't mention the install command yesterday. I remembered it
> after I went to bed last night.
> When I tried 'cp -v -a j2sdk-image/* /opt/jdk/jdk-1.5.0' without the
> 'install -v -d /opt/jdk/jdk-1.5.0' command immediately before it,
> it failed with a 'directory not found' (or something similar) error.
> I had to use the 'install' command to get it to work.

The directory /opt/jdk has to exist before you copy something into it.
Change your script to the following three lines:
install -d /opt/jdk
rm -rf /opt/jdk/jdk-1.5.0
cp -a j2sdk-image /opt/jdk/jdk-1.5.0

Tushar Teredesai
   mailto:tushar at linuxfromscratch.org

More information about the blfs-book mailing list