Skip to content

Commit

Permalink
updating Java 1.8 mentions to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Jan 21, 2021
1 parent 91be885 commit 6ce0f9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/developers/dev-environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Windows is not well supported, unfortunately, but Vagrant and Minishift environm
Install Java
~~~~~~~~~~~~

Dataverse requires Java 8.
Dataverse requires Java 11.

We suggest downloading OpenJDK from https://adoptopenjdk.net

Expand Down
11 changes: 4 additions & 7 deletions doc/sphinx-guides/source/installation/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ We assume you plan to run Dataverse on Linux and we recommend RHEL/CentOS, which
Java
----

Dataverse requires Java SE 8 (8u74/JDK 1.8.0u74 or higher).
Dataverse requires Java SE 11 (or higher).

Installing Java
===============
Expand All @@ -30,17 +30,14 @@ The Oracle JDK can be downloaded from http://www.oracle.com/technetwork/java/jav

On a RHEL/CentOS, install OpenJDK (devel version) using yum::

# yum install java-1.8.0-openjdk-devel
# sudo yum install java-11-openjdk

If you have multiple versions of Java installed, Java 8 should be the default when ``java`` is invoked from the command line. You can test this by running ``java -version``.
If you have multiple versions of Java installed, Java 11 should be the default when ``java`` is invoked from the command line. You can test this by running ``java -version``.

On RHEL/CentOS you can make Java 8 the default with the ``alternatives`` command, having it prompt you to select the version of Java from a list::
On RHEL/CentOS you can make Java 11 the default with the ``alternatives`` command, having it prompt you to select the version of Java from a list::

# alternatives --config java

If you don't want to be prompted, here is an example of the non-interactive invocation::

# alternatives --set java /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java

.. _payara:

Expand Down

0 comments on commit 6ce0f9e

Please sign in to comment.