# How to configure Tomcat to use Java 7 - torrenz2store

**URL:** <https://forum.reportserver.net/t/how-to-configure-tomcat-to-use-java-7-torrenz2store/1821>\
**Category:** ReportServer (EN)\
**Created:** [December 3, 2024, 2:54am UTC](https://forum.reportserver.net/t/how-to-configure-tomcat-to-use-java-7-torrenz2store/1821 "2024-12-03T02:54:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![torrenz2store](https://forum.reportserver.net/letter_avatar_proxy/v4/letter/t/22d042/32.png) [@torrenz2store](https://forum.reportserver.net/u/torrenz2store)\
**Post date:** [December 3, 2024, 2:54am UTC](https://forum.reportserver.net/t/how-to-configure-tomcat-to-use-java-7-torrenz2store/1821/1 "2024-12-03T02:54:37Z")

</div>

I have a web application in java 6 byte code and would like to test it in a Java 7 JVM environmment. For that purpose, I would like to configure Tomcat (for running the web application) to use Java 7. Now my question is how to do this?

Do I just set my JAVA\_HOME environment variable to the path where Java 7 is installed, so that tomcat is run in the right JVM (Version 7)? Or is there another way to do this?

---

<div class="post-metadata">

**Author:** ![IF\_Eduardo](https://forum.reportserver.net/letter_avatar_proxy/v4/letter/i/94ad74/32.png) [@IF\_Eduardo](https://forum.reportserver.net/u/IF_Eduardo)\
**Post date:** [December 5, 2024, 12:02pm UTC](https://forum.reportserver.net/t/how-to-configure-tomcat-to-use-java-7-torrenz2store/1821/2 "2024-12-05T12:02:04Z")

</div>

Hi torrenz2store,

this forum is dedicated to discussions about ReportServer. For your question about configuring Tomcat to use Java 7 for running a web application, we recommend consulting forums or resources specific to Tomcat or general Java application deployment. Thank you for your understanding!

Regards,  
Eduardo
