Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Install JDK on Ubuntu instructions do not work #6972

@jeff-matthews

Description

@jeff-matthews

Bug report

Description

In the Install and configure Elasticsearch topic, the instructions for installing JDK on Ubuntu don't work.

Steps to reproduce

  1. Spin up an Ubuntu 18 VM.
  2. Follow the instructions in devdocs.

Expected result

Ubuntu successfully installs JDK.

Actual result

JDK does not install. See the following console output:

vagrant@ubuntu-bionic:~$ sudo apt install -y oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java8-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'oracle-java8-installer' has no installation candidate

Possible solutions

This is a great example of the perils of documenting instructions for third-party packages when linking to the third party's documentation would be safer.

Remove the instructions from devdocs and update the link to Oracle's documentation to point here: https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html#BJFJJEFG.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions