From 6ce0f9e2f972526ed058263d9650a5f1a748e405 Mon Sep 17 00:00:00 2001 From: qqmyers Date: Wed, 20 Jan 2021 19:42:39 -0500 Subject: [PATCH] updating Java 1.8 mentions to Java 11 --- .../source/developers/dev-environment.rst | 2 +- .../source/installation/prerequisites.rst | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/doc/sphinx-guides/source/developers/dev-environment.rst b/doc/sphinx-guides/source/developers/dev-environment.rst index 9abfd385c28..0e9799cf094 100755 --- a/doc/sphinx-guides/source/developers/dev-environment.rst +++ b/doc/sphinx-guides/source/developers/dev-environment.rst @@ -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 diff --git a/doc/sphinx-guides/source/installation/prerequisites.rst b/doc/sphinx-guides/source/installation/prerequisites.rst index d166694b22e..c08feb0aa84 100644 --- a/doc/sphinx-guides/source/installation/prerequisites.rst +++ b/doc/sphinx-guides/source/installation/prerequisites.rst @@ -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 =============== @@ -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: