View previous topic :: View next topic |
Author |
Message |
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Wed Apr 15, 2015 4:35 pm Post subject: Java 8 not available |
|
|
I'm having a spot of trouble updating my Java. Portage wants a certain version, but Oracle no longer has it available.
Code: | >>> Emerging (32 of 82) dev-java/oracle-jdk-bin-1.8.0.40-r1::gentoo
!!! dev-java/oracle-jdk-bin-1.8.0.40-r1 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/oracle-jdk-bin-1.8.0.40-r1', Log file:
* '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.40-r1/temp/build.log'
*
* Oracle requires you to download the needed files manually after
* accepting their license through a javascript capable web browser.
*
* Download the following files:
* jdk-8u40-linux-x64.tar.gz
* at 'http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html'
* and move them to '/usr/portage/distfiles'
*
* If the above mentioned urls do not point to the correct version anymore,
* please download the files from Oracle's java download archive:
*
* http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u40-oth-JPR
* |
Unfortunately that last link there is dead. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
|
Back to top |
|
|
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Thu Apr 16, 2015 10:58 pm Post subject: |
|
|
Hmm... it requires me to have an Oracle account. I thought those needed to be paid for, or I had to have a company to use them. |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Fri Apr 17, 2015 8:51 am Post subject: |
|
|
Install development version. It has correct link. |
|
Back to top |
|
|
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Fri Apr 17, 2015 6:20 pm Post subject: |
|
|
I'm trying, it wants an Oracle account. It won't let me download it without one, and you need a company to get one. |
|
Back to top |
|
|
Rad Guru
Joined: 11 Feb 2004 Posts: 399 Location: Bern, Switzerland
|
Posted: Fri Apr 17, 2015 10:44 pm Post subject: |
|
|
Silent-Hunter wrote: | I'm trying, it wants an Oracle account. It won't let me download it without one, and you need a company to get one. |
Seems to be the case. I wonder what Oracle thought.
Perhaps you could use the 1.8.0.45 ebuild for now (from ~arch)? The respective JDK is downloadable. |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Mon Apr 20, 2015 9:31 am Post subject: |
|
|
Rad wrote: | Silent-Hunter wrote: | I'm trying, it wants an Oracle account. It won't let me download it without one, and you need a company to get one. |
Seems to be the case. I wonder what Oracle thought.
Perhaps you could use the 1.8.0.45 ebuild for now (from ~arch)? The respective JDK is downloadable. |
Yes, that's exactly what I meant under "development" version
Off-topic. Since Oracle is so funny about older versions of JDK, somehow the policy for stabilizing of oracle-jdk should be changed. Otherwise, what Gentoo considers to be stable is not available for free download, and is not considered as "good" by Oracle itself. |
|
Back to top |
|
|
ExecutorElassus Veteran
Joined: 11 Mar 2004 Posts: 1435 Location: Berlin, Germany
|
Posted: Thu Aug 20, 2015 11:10 am Post subject: |
|
|
this, incidentally, is now the problem I'm having with oracle-jdk-bin-1.8.0.51 (the latest in the tree): it's no longer the current version, so I can't manually download the files any more. How long has the 8u60 version been out? Should I file a bug to get the package maintainers to update? Could this be better handled by using a -9999 version for the jdk that automatically uses whatever the latest version is?
Cheers,
EE |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
|
Back to top |
|
|
ExecutorElassus Veteran
Joined: 11 Mar 2004 Posts: 1435 Location: Berlin, Germany
|
Posted: Thu Aug 20, 2015 4:53 pm Post subject: |
|
|
I'm confused. I don't think anybody here was talking about icedtea, let alone such an old version. Does that somehow provide the functionality of oracle-jdk-bin? |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Thu Aug 20, 2015 6:13 pm Post subject: |
|
|
Code: | grep oracle /etc/portage/package.mask
dev-java/oracle-jdk-bin
dev-java/oracle-jre-bin
|
I won t download every time from that oracle thing that thing anyway.
I have not upgraded libreoffice, but previous libreoffice compiled fine with above constraints...
So you can force portage to ignore oracle at all and everything works as far as I can tell here. |
|
Back to top |
|
|
sensi_tuX n00b
Joined: 18 Dec 2004 Posts: 46
|
Posted: Fri Aug 21, 2015 9:55 am Post subject: |
|
|
You can download (as far as i know) only the most current JDK/SDK without having a Oracle-Account.
For older versions like in your case you can create a fake account (which is for free) and download all older version in their archive.
Sucks a bit but as far as i remember the reason for this is they want "usual" users to download always the most updated version because old versions contain as we all know mostly a lot of bugs.. |
|
Back to top |
|
|
|