Tag Archives: oracle

Good bye Java

Since Oracle has some damn policies for distribution, it’s not possible to download it from Links or whatever to my remote server. Another story on how a company destroyed a product…


!!! dev-java/sun-jdk-1.6.0.32 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information.

* Fetch failed for ‘dev-java/sun-jdk-1.6.0.32’, Log file:
* ‘/var/tmp/portage/dev-java/sun-jdk-1.6.0.32/temp/build.log’
* Package: dev-java/sun-jdk-1.6.0.32
* Repository: gentoo
* Maintainer: java@gentoo.org
* USE: amd64 elibc_glibc kernel_linux multilib source userland_GNU
* FEATURES: sandbox
* Due to Oracle no longer providing the distro-friendly DLJ bundles, the package
* has become fetch restricted again. Alternatives are switching to
* dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6
*
* Please download jdk-6u32-linux-x64.bin from:
* http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u32-downloads-1594644.html
* and move it to /usr/portage/distfiles

Of course, if you get the the link from the Web page on your local browser, and get the file url on the remote server:

wget http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64.bin
# head jdk-6u32-linux-x64.bin
<html>
<head>
<title>Unauthorized Request</title>

How I fixed it: emerge -av --depclean dev-java/sun-jdk virtual/jdk virtual/jre dev-java/java-config