码迷,mamicode.com
首页 > 其他好文 > 详细

elasticsearch jdk 版本选择

时间:2016-09-04 00:19:54      阅读:599      评论:0      收藏:0      [点我收藏+]

标签:elasticsearch java jdk jre

安装elasticsearch 报java版本错误的原因,根据Elasticsearch 的建议最好使用Java 8 update 20 or later, or Java 7 update 55 or later,供大家参考,下面为官方文档


Java (JVM) versionedit

Elasticsearch is built using Java, and requires at least Java 7 in order to run. Only Oracle’s Java and the OpenJDK are supported. The same JVM version should be used on all Elasticsearch nodes and clients.

We recommend installing the Java 8 update 20 or later, or Java 7 update 55 or later. Previous versions of Java 7 are known to have bugs that can cause index corruption and data loss. Elasticsearch will refuse to start if a known-bad version of Java is used.

The version of Java to use can be configured by setting the JAVA_HOME environment variable.

参考:

https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html


elasticsearch jdk 版本选择

标签:elasticsearch java jdk jre

原文地址:http://10735441.blog.51cto.com/10725441/1845955

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!