You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jakov Sosic <js...@gmail.com> on 2015/02/10 21:03:32 UTC

Solr 4.10.x on Oracle Java 1.8.x ?

Hi guys,

at the end of April Java 1.7 will be obsoleted, and Oracle will stop 
updating it.

Is it safe to run Tomcat7 / Solr 4.10 on Java 1.8? Did anyone tried it 
already?

Re: Solr 4.10.x on Oracle Java 1.8.x ?

Posted by William Bell <bi...@gmail.com>.
We have several issues with Java 8. They are mostly with using DIH handler,
since we use the script Nashorn, and it was originally Rhino.

When using Regex, we needed to escape "\\|" in Rhino and in Nashorn we need
to use only 1 escape "\|".

Several other issues since methods on Java String appear to call the
Nashorn String functions (like MyString.split('\\|'))....

Be careful and test it.

On Tue, Feb 10, 2015 at 1:33 PM, Shawn Heisey <ap...@elyograg.org> wrote:

> On 2/10/2015 1:03 PM, Jakov Sosic wrote:
> > at the end of April Java 1.7 will be obsoleted, and Oracle will stop
> > updating it.
> >
> > Is it safe to run Tomcat7 / Solr 4.10 on Java 1.8? Did anyone tried it
> > already?
>
> Yes, we know that Java 8 works just fine with newer Solr 4.x releases,
> and the unreleased version 5.  Oracle Java is preferred, and the latest
> available release is strongly recommended.
>
> The development branch for Lucene/Solr 6.0 *requires* Java 8.
>
> Thanks,
> Shawn
>
>


-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076

Re: Solr 4.10.x on Oracle Java 1.8.x ?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 2/10/2015 1:03 PM, Jakov Sosic wrote:
> at the end of April Java 1.7 will be obsoleted, and Oracle will stop
> updating it.
>
> Is it safe to run Tomcat7 / Solr 4.10 on Java 1.8? Did anyone tried it
> already?

Yes, we know that Java 8 works just fine with newer Solr 4.x releases,
and the unreleased version 5.  Oracle Java is preferred, and the latest
available release is strongly recommended.

The development branch for Lucene/Solr 6.0 *requires* Java 8.

Thanks,
Shawn


Re: Solr 4.10.x on Oracle Java 1.8.x ?

Posted by Otis Gospodnetic <ot...@gmail.com>.
Bok Jakov,

We've been running Solr with Java 8 for several months without issues.

Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


On Tue, Feb 10, 2015 at 3:03 PM, Jakov Sosic <js...@gmail.com> wrote:

> Hi guys,
>
> at the end of April Java 1.7 will be obsoleted, and Oracle will stop
> updating it.
>
> Is it safe to run Tomcat7 / Solr 4.10 on Java 1.8? Did anyone tried it
> already?
>