Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 158000

Summary: java-sdk-docs-1.6.0 DOWNLOAD_URL doesn't work
Product: Gentoo Linux Reporter: Lars Schünzel <yahoo>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Schünzel 2006-12-13 02:06:37 UTC
The DOWNLOAD_URL pointing to javashoplm.sun.com/... the ebuild is suggesting isn't working. You are presented with a login box. It seems that they are checking the referer.
You need to go to http://java.sun.com/javase/downloads/index.jsp and click on the download button for "Java SE 6 Documentation".
For version 1.5* you have to go to http://java.sun.com/javase/downloads/index_jdk5.jsp, click "J2SE 5.0 Documentation" download button.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-13 08:06:06 UTC
It works here and for others too, you're the first to report this. We also use this kind of URLs for other Sun's fetch restricted stuff and never had a prob. Did you copy the URL correctl? I managed to get a login box when I ommited the "&TransactionId=noreg" part. Otherwise it works. Even deleted cookies to be sure. Maybe you are using some browser extension for spoofing referers?
Comment 2 Lars Schünzel 2006-12-14 02:33:33 UTC
(In reply to comment #1)
I am so sorry. 
I looked into this and found the problem:
I use xfce-extra/terminal (version 0.2.5.8_rc2). It can open links and copy a link's address. If I use "open link" the part of the java download url gets truncated (at the position of the first ampersand). Using "copy link address" works fine. The gnome terminal doesn't show this behavior.

I think it is safe to say that you can close this bug. I'll try to find out what is broken in my installation (a shell script, I presume?). -- mistake on my part.