Alfresco Solr 6.6.5 not start - Invalid version of java 11.0.9.1

cancel
Showing results for 
Search instead for 
Did you mean: 
miroslav
Active Member II

Alfresco Solr 6.6.5 not start - Invalid version of java 11.0.9.1

Jump to solution

Hello,

I'm trying to install Alfresco Search services 2.0 on Debian GNU / Linux 10 (buster) with java Openjdk version "11.0.9.1" 2020-11-04. The service does not start and following error returns:

solr-8983-console.log

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Invalid Java version 11.0.9.1

Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information

What version of java should be used?

Thank you.


1 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: Alfresco Solr 6.6.5 not start - Invalid version of java 11.0.9.1

Jump to solution

This is a know problem for Jetty:

https://github.com/eclipse/jetty.project/issues/2090

Every version including a "9" can't be used with SOLR 6.

Unfortunately, we can't fix that, so just avoid Java versions including a "9" (like 11.0.9.1)

Hyland Developer Evangelist

View solution in original post

2 Replies
miroslav
Active Member II

Re: Alfresco Solr 6.6.5 not start - Invalid version of java 11.0.9.1

Jump to solution

Java openjdk version "13.0.5" is running without problems.

angelborroy
Alfresco Employee

Re: Alfresco Solr 6.6.5 not start - Invalid version of java 11.0.9.1

Jump to solution

This is a know problem for Jetty:

https://github.com/eclipse/jetty.project/issues/2090

Every version including a "9" can't be used with SOLR 6.

Unfortunately, we can't fix that, so just avoid Java versions including a "9" (like 11.0.9.1)

Hyland Developer Evangelist

View solution in original post