I am attempting to update Jasper Reports Server, and having an issue with Java. It uses Tomcat to run java. I did not install java on this server, and I am not very familiar with java. Java was installed in a folder called /opt/jasperreports-server-cp-5.0.0/apache-tomcat/java/bin/
. I do not believe Java was installed correctly, and it is telling me that the JAVA_HOME
is not defined correctly.
We cannot execute /opt/jasperreports-server-cp-5.0.0/apache-tomcat/java/bin/java
Java is located in that directory.
I ran the following in a bash shell:
export JAVA_HOME=”/opt/jasperreports-server-cp-5.0.0/apache-tomcat/java”
export PATH=$JAVA_HOME/bin:$PATH
Can you please help me on what I am doing wrong when setting the JAVA_HOME
, or does it have something to do with the java folder? should I reinstall Java altogether?
You say the file /opt/jasperreports-server-cp-5.0.0/apache-tomcat/java/bin/java exists, right ?
Can you execute it ? Can it execute standard jar file ?