简体   繁体   中英

DEBUG: Using PENTAHO_JAVA_HOME

Am trying to start pentaho, but am getting the below mentioned error

DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera/jre/bin
DEBUG: _PENTAHO_JAVA=/usr/java/jdk1.7.0_67-cloudera/jre/bin/bin/java
Using CATALINA_BASE:   /home/nathan/biserver-ce/tomcat
Using CATALINA_HOME:   /home/nathan/biserver-ce/tomcat
Using CATALINA_TMPDIR: /home/nathan/biserver-ce/tomcat/temp
Using JRE_HOME:        /usr/java/jdk1.7.0_67-cloudera/jre/bin
Using CLASSPATH:       /home/nathan/biserver-ce/tomcat/bin/bootstrap.jar

I have given the java_home path too. Still am getting error and unable to start pentaho. Please help

The clues are here:

DEBUG: _PENTAHO_JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera/jre/bin
DEBUG: _PENTAHO_JAVA=/usr/java/jdk1.7.0_67-cloudera/jre/bin/bin/java

It thinks that the path for the Java command is "/usr/java/jdk1.7.0_67-cloudera/jre/bin/bin/java". That is clearly wrong. (".../bin/bin/..."? Really??)

Working backwards, the launch script has done that because you have pointed the _PENTAHO_JAVA_HOME variable at the "bin" directory. That is incorrect. It should point at the top directory of the JRE or JDK; ie either:

/usr/java/jdk1.7.0_67-cloudera/jre/

or

/usr/java/jdk1.7.0_67-cloudera/

(I suspect that either will work if you have a JDK install ... as you apparently do here.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM