java - JAVA_HOME not defined correctly -


i attempting update jasper reports server, , having issue java. uses tomcat run java. did not install java on server, , not familiar java. java installed in folder called /opt/jasperreports-server-cp-5.0.0/apache-tomcat/java/bin/. not believe java installed correctly, , telling me java_home not defined correctly.

we cannot execute /opt/jasperreports-server-cp-5.0.0/apache-tomcat/java/bin/java

java located in directory.

i ran following in bash shell:

export java_home=”/opt/jasperreports-server-cp-5.0.0/apache-tomcat/java” export path=$java_home/bin:$path 

can please me on doing wrong when setting java_home, or have java folder? should reinstall java altogether?

you file /opt/jasperreports-server-cp-5.0.0/apache-tomcat/java/bin/java exists, right ?

can execute ? can execute standard jar file ?


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -