w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to specify custom JRE path for Apache Tomcat in Intellij IDEA?

Right way is:

  1. Go to run configuration of Tomcat launching in IDEA
  2. Select "Startup/Connection" tab
  3. Select desired run mod ("Run"/"Debug"/....)
  4. add new enviroment variable:

"JRE_HOME" with path to needed JRE.

See picture below:

enter image
description here

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.