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 SolrUser1543 <os...@gmail.com> on 2015/02/23 15:19:47 UTC

incorrect Java version reported in solr dashboard

I have upgraded Java version from 1.7 to 1.8 on Linux server. 
After the upgrade,  if I run " Java -version " I can see that it really 
changed to the new one. 

But when I run Solr, it is still reporting the old version in dashboard JVM
section.  

What could be the reason? 



--
View this message in context: http://lucene.472066.n3.nabble.com/incorrect-Java-version-reported-in-solr-dashboard-tp4188236.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: incorrect Java version reported in solr dashboard

Posted by Michael Della Bitta <mi...@appinions.com>.
You're probably launching Solr using the older version of Java somehow. You
should make sure your PATH and JAVA_HOME variables point at your Java 8
install from the point of view of the script or configuration that launches
Solr.

Hope that helps.

Michael Della Bitta

Senior Software Engineer

o: +1 646 532 3062

appinions inc.

“The Science of Influence Marketing”

18 East 41st Street

New York, NY 10017

t: @appinions <https://twitter.com/Appinions> | g+:
plus.google.com/appinions
<https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
w: appinions.com <http://www.appinions.com/>

On Mon, Feb 23, 2015 at 9:19 AM, SolrUser1543 <os...@gmail.com> wrote:

> I have upgraded Java version from 1.7 to 1.8 on Linux server.
> After the upgrade,  if I run " Java -version " I can see that it really
> changed to the new one.
>
> But when I run Solr, it is still reporting the old version in dashboard JVM
> section.
>
> What could be the reason?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/incorrect-Java-version-reported-in-solr-dashboard-tp4188236.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>