Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For DSpace 4.x or 5.x, you should be using Java 7. See

Jira
serverDuraSpace JIRA
serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5
keyDS-3154
.  Unfortunately even disabling `doclint` on these branches seems to not be enough, so you really do need to find an old version of Java 7 around somewhere.

  • If you are using a recent version of Ubuntu (e.g. 16.04LTS or later), OpenJDK 7 is harder and harder to find. However, there are still some PPAs that have unmaintained copies (i.e. no security patches). This is good enough for installing on something like vagrant-dspace just do perform the release. Here's a PPA that has worked (as of July 2017):

    Code Block
    # Install the add-apt-repository command (if not available)
    sudo apt install software-properties-common
    # Add in PPA that has old versions of OpenJDK
    sudo add-apt-repository ppa:openjdk-r/ppa
    sudo apt-get update
    # Install OpenJDK 7
    sudo apt-get install openjdk-7-jdk
    
    
    # Switch which Java alternative is in use (and select OpenJDK 7)
    update-alternatives --config java
    # Check that the settings are now correct
    java -version


For DSpace 6, you can use either Java 7 or Java 8 for the release.

Use Maven 3 or above

...