Apache Tomcat Still Looking for Uninstalled Java Version

时间:2016-07-11 19:31:38

标签: java apache tomcat

I have jasperserver running on apache tomcat on a web application. I have Java version 1.4 installed and the correct JAVA_HOME environment variable set. I can get to "myurl:8080" just fine and it shows the apache tomcat page. Originally i installed java 1.8 which seemed to be incompatible for my old version of jasperserver.

I needed to install an older version of Java, so i uninstalled 1.8 and installed 1.4 on my linux instance for my Java App. However, when i try and connect to jasperserver through the app, it seems like it is still looking in the old directory for old java library. How can i configure this to look at my new directory in same location? The error is below.

java.io.FileNotFoundException: /usr/lib/jvm/java-8-oracle/jre/lib/rt.jar

The correct version of java is located below.

/usr/lib/jvm/java1.4.2_18/

0 个答案:

没有答案