opendedup / sdfs

Deduplication Based Filesystem
375 stars 79 forks source link

Error: JAVA_HOME defined incorrectly #94

Closed werdck closed 5 years ago

werdck commented 5 years ago

Installation on archlinux gives the following error:

The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE

I have installed both jdk12 and jdk8 and set the JAVA_HOME path accordingly. Am I missing something? JAVA_HOME is an outdated variable.

werdck commented 5 years ago

I fixed it in your build.sh. Just to let you know: It's not the greatest idea to put an export on the first line of your buildscript, even more so when it references a version not generally used. (Same Java-version is also known without amd64).