DBpedia Extraction Framework Java 8 JDK / JRE Installation Guideline

There is an issue to install idk8 for DBpedia framework execution, OpenJDK didn’t work. I tried with java 11 and java 15 but the framework didn’t compile. if anyone have a link for jdk8 java8 then plz
kindly give me an appropriate link from where to install jdk8 java8 for ubuntu to start execution. Thanks.

Hi, I suggest to use sdkman.
Install with
curl -s "https://get.sdkman.io" | bash

open a new shell and check for the latest available java 8 versions
sdk list java | grep open | grep 8.

pick one release and install with
sdk install java 8.y.z-open

I used e.g.
sdk install java 8.0.282-open

check whether correct java version is set to default with
mvn -v

It should look similar to this

mvn -v
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_282, vendor: Oracle Corporation, runtime: /home/dbpedia/.sdkman/candidates/java/8.0.282-open/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.19.0-14-amd64", arch: "amd64", family: "unix"

@jlareck , @hopver would you be so kind to copy/paste/edit @jfrey answer into the appropriate DIEF readme?

Also as @anamt761 wrote these kind of questions are super frequent, so it would be good to have some install instructions or a link to get the right java version or the code like johannes did.

1 Like

Okay, I will add it into quickstart readme