在下载了最新版本的elasticsearch后,配置了java环境
[elsearch@localhost bin]$ java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
执行elasticsearch的时候报错:错误: 找不到或无法加载主类 org.elasticsearch.tools.JavaVersionChecker
Elasticsearch requires at least Java 8 but your Java version from /usr/java/jdk1.8.0_73/bin/java does not meet this requirement
这是我的java环境配置
export JAVA_HOME=/usr/java/jdk1.8.0_73
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JRE_HOME=/usr/java/jdk1.8.0_73/jre
export PATH=$JAVA_HOME/bin:$PATH
请问一下大家这个是哪里出问题了,感激不尽
[elsearch@localhost bin]$ java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
执行elasticsearch的时候报错:错误: 找不到或无法加载主类 org.elasticsearch.tools.JavaVersionChecker
Elasticsearch requires at least Java 8 but your Java version from /usr/java/jdk1.8.0_73/bin/java does not meet this requirement
这是我的java环境配置
export JAVA_HOME=/usr/java/jdk1.8.0_73
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JRE_HOME=/usr/java/jdk1.8.0_73/jre
export PATH=$JAVA_HOME/bin:$PATH
请问一下大家这个是哪里出问题了,感激不尽
3 个回复
isme420
赞同来自:
wuxiwei
赞同来自:
wuxiwei
赞同来自: