Skip to content

Commit

Permalink
update docs for Java 17 IQSS#8094
Browse files Browse the repository at this point in the history
container/dev-usage.rst has not been updated because
it will be handled in PR IQSS#9761.
  • Loading branch information
pdurbin committed Aug 7, 2023
1 parent b0673c4 commit 460ae7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/container/base-image.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Image Contents

The base image provides:

- `Eclipse Temurin JRE using Java 11 <https://adoptium.net/temurin/releases?version=11>`_
- `Eclipse Temurin JRE using Java 17 <https://adoptium.net/temurin/releases?version=17>`_
- `Payara Community Application Server <https://docs.payara.fish/community>`_
- CLI tools necessary to run Dataverse (i. e. ``curl`` or ``jq`` - see also :doc:`../installation/prerequisites` in Installation Guide)
- Linux tools for analysis, monitoring and so on
Expand Down
8 changes: 4 additions & 4 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 your Dataverse installation on Linux and we recommend
Java
----

The Dataverse Software requires Java SE 11 (or higher).
The Dataverse Software requires Java SE 17 (or higher).

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

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

# sudo yum install java-11-openjdk
# sudo yum install java-17-openjdk

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``.
If you have multiple versions of Java installed, Java 17 should be the default when ``java`` is invoked from the command line. You can test this by running ``java -version``.

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

# alternatives --config java

Expand Down

0 comments on commit 460ae7c

Please sign in to comment.