On 9/23/22 12:07, L H wrote:
Hello dear colleagues,
I was using Embedded solr on JAVA 8 for caching some data - however, I am
required to update JAVA to version 17.
I can see that core container is not able to access home directory.
Below is the exception I get; could someone please help me to know to fix
the issue?
I have removed the email headers that would bury this message inside a
thread that has nothing to do with it, which is where I found your
message. You didn't even change the subject. Please do not reply to an
existing message unless that message is directly related to what you are
sending. Start a brand new message with a new subject for a new topic.
https://www.dropbox.com/s/3avr9o03gpx7rko/solr-user-buried-thread-2022-09.png?dl=0
What version of Solr/SolrJ are you using? I suspect that you're using a
version that was not qualified with any Java version later than 8. You
might need to upgrade Solr to have it work right with Java 17. In
recent years Java has gotten a lot better at not introducing breaking
changes, but you have just jumped NINE major versions. Any software is
likely to change in extreme ways across that many major versions.
The sweet spot for Solr 7 or 8 seems to be Java 11, but these Solr
versions only require Java 8. Solr 9.x *requires* Java 11, and it is
the only version I personally would run with anything newer than Java
11. For Solr 6, I would not run anything newer than Java 8. Solr 7.0
was the first version that was qualified to run in Java 9, and I recall
code changes being required to achieve that.
Thanks,
Shawn