Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian: alternative method to install Java #59

Open
hangstl opened this issue Oct 18, 2017 · 13 comments
Open

debian: alternative method to install Java #59

hangstl opened this issue Oct 18, 2017 · 13 comments

Comments

@hangstl
Copy link

hangstl commented Oct 18, 2017

http://download.oracle.com/otn-pub/java/jdk/8u144-b01/XXXXXXXXXXXXXXXXXXXX/jdk-8u144-linux-x64.tar.gz", "Resolving download.oracle.com (download.oracle.com)... 2.16.4.178, 2.16.4.176", "Connecting to download.oracle.com (download.oracle.com)|2.16.4.178|:80... connected.", "HTTP request sent, awaiting response... 302 Moved Temporarily", "Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u144-b01/XXXXXXXXXXXXXXXXXXXXXX/jdk-8u144-linux-x64.tar.gz [following]", "--2017-10-18 07:24:42-- https://edelivery.oracle.com/otn-pub/java/jdk/8u144-b01/XXXXXXXXXXXXXXXXXXXXXX/jdk-8u144-linux-x64.tar.gz", ... "Connecting to download.oracle.com (download.oracle.com)|2.16.4.178|:80... connected.", "HTTP request sent, awaiting response... 404 Not Found", "2017-10-18 07:24:43 ERROR 404: Not Found.", "", "download failed"

@olasundell
Copy link

+1

@namitmr
Copy link

namitmr commented Oct 18, 2017

@hangstl @olasundell there seems to be an issue with the command :

sudo apt-get install oracle-java8-installer

download.oracle.com does not seem to be responding properly, need to find another way to install as ansiblebit totally relies on apt-get installations !

@steenzout
Copy link
Member

if download from Oracle doesn't work how do you suppose any other type of installation will work better?
curl the tarball will still fail, no?

@steenzout
Copy link
Member

steenzout commented Oct 18, 2017

the Oracle website is redirecting to an inexisting URL:

Connecting to download.oracle.com (download.oracle.com)|2.16.4.178|:80... connected.", "HTTP request sent, awaiting response... 302 Moved Temporarily

is there anything you expect me to do?

@namitmr
Copy link

namitmr commented Oct 18, 2017

Installations through tar balls are only possible at the moment, you need to cURL fetch and manual install ! There can be a fallback mechanism for this task ?

@steenzout steenzout reopened this Oct 19, 2017
@steenzout
Copy link
Member

@namitmr please provide the steps you used and I'll build the fallback mechanism this weekend.

@steenzout steenzout changed the title 404 when downloading jdk-8u144 alternative method to install Java Oct 19, 2017
@steenzout
Copy link
Member

Goal: provide a way for users to install Oracle JDK by performing a direct download, untar, etc as opposed to using the .dev package.

@steenzout steenzout added this to the 5.14.20 milestone Oct 19, 2017
@olasundell
Copy link

As you mentioned, this is clearly an issue with the webup8team oracle-java8-installer. I'm currently trying to get hold of Alin Andrei, the maintainer.

@amazovec
Copy link

From some moment, from yesterday, you must register and have valid account for download the java packages. I'm solving that with my own repository.

@namitmr
Copy link

namitmr commented Oct 19, 2017

@steenzout , @amazovec is correct you need to have some sort of a validAuthParam=XXXXXXX query param not an account specifically for getting the tar ball, still looking for a work around if possible. Will send you the steps or even better a merge request if possible !

@olasundell
Copy link

No, you just need to set an extra cookie. If you add
.oracle.com TRUE / FALSE 1508402404 oraclelicense accept-securebackup-cookie
to your cookies, it works.

@steenzout
Copy link
Member

@namitmr you can see here the way to download directly from Oracle.

That should get you by the weekend.

@steenzout
Copy link
Member

Add the possibility of downloading the debian package from Oracle and installing the software through there.

If path is provided, the user will only need to copy the package over to the expected destination and ansible won't try to download it from Oracle.

@steenzout steenzout reopened this Aug 19, 2018
@steenzout steenzout removed the support label Aug 19, 2018
@steenzout steenzout changed the title alternative method to install Java debian: alternative method to install Java Aug 19, 2018
@steenzout steenzout removed this from the 5.14.20 milestone Aug 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants