Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java 8 not available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Wed Apr 15, 2015 4:35 pm    Post subject: Java 8 not available Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Apr 15, 2015 4:51 pm    Post subject: Reply with quote

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u40-oth-JPR is not dead. Try again.
Back to top
View user's profile Send private message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Thu Apr 16, 2015 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Fri Apr 17, 2015 8:51 am    Post subject: Reply with quote

Install development version. It has correct link.
Back to top
View user's profile Send private message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Fri Apr 17, 2015 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rad
Guru
Guru


Joined: 11 Feb 2004
Posts: 399
Location: Bern, Switzerland

PostPosted: Fri Apr 17, 2015 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Mon Apr 20, 2015 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu Aug 20, 2015 11:10 am    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Aug 20, 2015 2:09 pm    Post subject: Reply with quote

Why not try 3.0.0_pre04-r1 from http://data.gpo.zugaina.org/java/dev-java/icedtea?
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu Aug 20, 2015 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Aug 20, 2015 6:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
sensi_tuX
n00b
n00b


Joined: 18 Dec 2004
Posts: 46

PostPosted: Fri Aug 21, 2015 9:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum