Mailing List Archive

Java version set to 1.8 for SOLR 6.4.0
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } I have installed SOLR 6.4.0 on Linux box. I have Java 1.7.0 and 1.8.0 both on the box. By default it point to 1.7.0. Some other applications using 1.7.0 Java. I want to set Java 1.8.0 only for SOLR 6.4.0. What should I need to update for only SOLR 6.4.0 to hit Java 1.8.0. I don't want to remove Java 1.7.0 because some other applications using Java 1.7.0.
Thanks.
Regards,
Uchit Patel


Sent from Yahoo Mail for iPhone


On Tuesday, February 7, 2017, 7:14 PM, Uchit Patel <uchitspatel@yahoo.com.INVALID> wrote:

Hi,
I want detailed step by step guidance for SOLR version upgrade from 5.1.0 to 6.4.0 for Windows and Linux both.
Thanks.
Regards,
Uchit PatelSr. GIS AnalystWaste Management Inc.
Re: Java version set to 1.8 for SOLR 6.4.0 [ In reply to ]
Try setting SOLR_JAVA_HOME to point to java8

--
Jan Høydahl

> Den 10. feb. 2017 kl. 15.53 skrev Uchit Patel <uchitspatel@yahoo.com.INVALID>:
>
> blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } I have installed SOLR 6.4.0 on Linux box. I have Java 1.7.0 and 1.8.0 both on the box. By default it point to 1.7.0. Some other applications using 1.7.0 Java. I want to set Java 1.8.0 only for SOLR 6.4.0. What should I need to update for only SOLR 6.4.0 to hit Java 1.8.0. I don't want to remove Java 1.7.0 because some other applications using Java 1.7.0.
> Thanks.
> Regards,
> Uchit Patel
>
>
> Sent from Yahoo Mail for iPhone
>
>
> On Tuesday, February 7, 2017, 7:14 PM, Uchit Patel <uchitspatel@yahoo.com.INVALID> wrote:
>
> Hi,
> I want detailed step by step guidance for SOLR version upgrade from 5.1.0 to 6.4.0 for Windows and Linux both.
> Thanks.
> Regards,
> Uchit PatelSr. GIS AnalystWaste Management Inc.
>
>
Re: Java version set to 1.8 for SOLR 6.4.0 [ In reply to ]
Hi ,
I tried SOLR_JAVA_HOME = "/opt/wml/jdk1.8.0_66/jre/bin/java" but it is not working.
Regards,
Uchit Patel
I have installed SOLR 6.4.0 on Linux box. I have Java 1.7.0 and 1.8.0 both on the box. By default it point to 1.7.0. Some other applications using 1.7.0 Java. I want to set Java 1.8.0 only for SOLR 6.4.0. What should I need to update for only SOLR 6.4.0 to hit Java 1.8.0. I don't want to remove Java 1.7.0 because some other applications using Java 1.7.0.
Thanks.
Regards,
Uchit Patel
Re: Java version set to 1.8 for SOLR 6.4.0 [ In reply to ]
I have updated SOLR_JAVA_HOME in following file.
/opt/wml/solr-6.4.0/bin/solr.in.sh
SOLR_JAVA_HOME = "/opt/wml/jdk1.8.0_66/jre/bin/java" 
But it is not working.
Regards,
Uchit Patel
I have installed SOLR 6.4.0 on Linux box. I have Java 1.7.0 and 1.8.0 both on the box. By default it point to 1.7.0. Some other applications using 1.7.0 Java. I want to set Java 1.8.0 only for SOLR 6.4.0. What should I need to update for only SOLR 6.4.0 to hit Java 1.8.0. I don't want to remove Java 1.7.0 because some other applications using Java 1.7.0.
Thanks.
Regards,
Uchit Patel

From: Uchit Patel <uchitspatel@yahoo.com>
To: "general@lucene.apache.org" <general@lucene.apache.org>; "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>; "jan.asf@cominvent.com" <jan.asf@cominvent.com>
Sent: Monday, February 13, 2017 3:38 PM
Subject: Re: Java version set to 1.8 for SOLR 6.4.0

Hi ,
I tried SOLR_JAVA_HOME = "/opt/wml/jdk1.8.0_66/jre/bin/java" but it is not working.
Regards,
Uchit Patel
I have installed SOLR 6.4.0 on Linux box. I have Java 1.7.0 and 1.8.0 both on the box. By default it point to 1.7.0. Some other applications using 1.7.0 Java. I want to set Java 1.8.0 only for SOLR 6.4.0. What should I need to update for only SOLR 6.4.0 to hit Java 1.8.0. I don't want to remove Java 1.7.0 because some other applications using Java 1.7.0.
Thanks.
Regards,
Uchit Patel
RE: Java version set to 1.8 for SOLR 6.4.0 [ In reply to ]
Hi,

SOLR_JAVA_HOME must point to the directory of the JDK, not the "java" command:

SOLR_JAVA_HOME = "/opt/wml/jdk1.8.0_66"

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Uchit Patel [mailto:uchitspatel@yahoo.com.INVALID]
> Sent: Monday, February 13, 2017 11:14 AM
> To: general@lucene.apache.org; solr-user@lucene.apache.org;
> jan.asf@cominvent.com
> Subject: Re: Java version set to 1.8 for SOLR 6.4.0
>
>
> I have updated SOLR_JAVA_HOME in following file.
> /opt/wml/solr-6.4.0/bin/solr.in.sh
> SOLR_JAVA_HOME = "/opt/wml/jdk1.8.0_66/jre/bin/java"
> But it is not working.
> Regards,
> Uchit Patel
> I have installed SOLR 6.4.0 on Linux box. I have Java 1.7.0 and 1.8.0 both on
> the box. By default it point to 1.7.0. Some other applications using 1.7.0 Java.
> I want to set Java 1.8.0 only for SOLR 6.4.0. What should I need to update for
> only SOLR 6.4.0 to hit Java 1.8.0. I don't want to remove Java 1.7.0 because
> some other applications using Java 1.7.0.
> Thanks.
> Regards,
> Uchit Patel
>
> From: Uchit Patel <uchitspatel@yahoo.com>
> To: "general@lucene.apache.org" <general@lucene.apache.org>; "solr-
> user@lucene.apache.org" <solr-user@lucene.apache.org>;
> "jan.asf@cominvent.com" <jan.asf@cominvent.com>
> Sent: Monday, February 13, 2017 3:38 PM
> Subject: Re: Java version set to 1.8 for SOLR 6.4.0
>
> Hi ,
> I tried SOLR_JAVA_HOME = "/opt/wml/jdk1.8.0_66/jre/bin/java" but it is not
> working.
> Regards,
> Uchit Patel
> I have installed SOLR 6.4.0 on Linux box. I have Java 1.7.0 and 1.8.0 both on
> the box. By default it point to 1.7.0. Some other applications using 1.7.0 Java.
> I want to set Java 1.8.0 only for SOLR 6.4.0. What should I need to update for
> only SOLR 6.4.0 to hit Java 1.8.0. I don't want to remove Java 1.7.0 because
> some other applications using Java 1.7.0.
> Thanks.
> Regards,
> Uchit Patel
>
>
>
>
>
>
>
>
>
>