I came across a bad mirror as well. I'm running Slackware64 13.0.
The bad mirror I was using was
ftp://ftp-linux.cc.gatech.edu/pub/sl...lackware-13.0/
The package was getting installed in /usr/lib instead of /usr/lib64. In the end I just used the package on the install DVD.
note: the mirror was not a problem when installing jdk for 32 bit system
details below, wrote a didactic response for newbies like me
Here is what I initially did as superuser:
# slackpkg update
# slackpkg install jdk-6u16-i586-1
# reboot
once system reboot
# java -version -> this would not execute
# slackpkg search jdk -> said jdk was still not installed
So I checked /usr/lib and /usr/lib64. What I found was that jre (which came from when I initially installed Slackware64) was on /usr/lib64 and the jdk was on /usr/lib
solution:
1. mounted the install dvd to /mnt/dvd
2. go to the extras directory on the dvd
3. installpkg <the-jdk-filename>.txz
4. reboot
5. #java -version -> worked this time