Can i use "openjdk-8-jre-headless" instead of "openjdk-8-jre"?

Hi Folks,

headless sounds to make alot of sense for a headless Ubuntu Server without GUI. But I’m not sure since it states there is no support for applications with GUI and I’m not sure if this is a problem to seafile Server or not…

Thanks in advance
Michael

Yes, headless should work.

in general:
the manual says I need to install openjdk-8-jre

my questions are:

  • is the oracle version also okay?
  • what about version 9 - 10 - 11 of openjdk are they supported by Seafile?

or do I have to install Version 8?

Afaik the only java component is elasticsearch.

cat seafile-server-latest/pro/elasticsearch/README* gives some additional information. Oracle version is recommended by elasticsearch.

On my 6.2.x installation elasticsearch 2.4.5 is being used. https://www.elastic.co/guide/en/elasticsearch/reference/2.4/_installation.html

You can find it out with ./seafile-server-latest/pro/elasticsearch/bin/elasticsearch --version

1 Like

according to my server-6.3.4 Elasticsearch 2.4.5 is also used.
looking at this SupportMatrix: Support Matrix | Elastic only version 8 of jre supports Elasticsearch 2.4.x

So I will stick to version 8.
Thanks shoeper

1 Like