LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't install java8 ;'oracle-java8-installer - 8u171-1~webupd8~0' seems not to contain wgetrc. (https://www.linuxquestions.org/questions/linux-newbie-8/can%27t-install-java8-%3B%27oracle-java8-installer-8u171-1%7Ewebupd8%7E0%27-seems-not-to-contain-wgetrc-4175629918/)

Newish 05-17-2018 06:36 PM

Can't install java8 ;'oracle-java8-installer - 8u171-1~webupd8~0' seems not to contain wgetrc.
 
'sudo apt-get install oracle-java8-installer' installed the most current version of the Installer, but failed to install java8 giving because wget could not be configured:'wget: WGETRC points to wgetrc, which doesn't exist. The file does, in fact, exist, but it's empty.

How can I find a copy of the missing wgetrc?

Working with the wget and wgetrc documentation won't give me the information to create a wgetrc file without knowledge of what needs to be done with java8 to install it, or without a great deal of time learning these two dense utilities.

Thanks.

AwesomeMachine 05-17-2018 07:42 PM

Hi Newish,

Welcome!

The package is probably broken on oracle's side. Until they fix it, try installing from source: https://docs.oracle.com/javase/8/doc....html#BJFJJEFG

Newish 05-18-2018 05:40 PM

Thanks, AwesomeMachine,

Your suggestion is simplicity itself. I'm going to wait to attempt it for two reasons:
1. When I read the instructions provided by Oracle on the site from your link, I read, '...to the location where you would like the JDK to be installed...' which scares me because of the complexity of the Linux file system and possible interactions with a still functioning JRE. And...
2. I think I have bigger fish to fry. At the same time that the JDK issue of this thread demonstrated itself, I found an issue with my updates to my Linux Mint apps and system that is duplicated with new installation attempts using the Mint Software Manager. This issue will require a new thread and may be related to this thread, though the events could simply be coincidental.

Newbie


All times are GMT -5. The time now is 11:41 PM.