Why JRE with Liferay

I downloaded the Liferay Tomcat package and I see that there is a JRE inside TOMCAT_HOME. Why is it jre. The JRE is not there if I download Tomcat from the Apache site.

Any idea?

+4
source share
2 answers

JRE is included with Liferay because it is designed to work out of the box without the need for user configuration (for example, installing Java and setting up Tomcat). This is also JRE Liferay has been tested and built with.

+7
source

I don't know anything about Liferay, but there are several reasons why someone might want to control the JRE.

  • They can only support a specific version.
  • They may want their application to have no dependencies that make installation easier.
  • They may want to include unlimited JCE policy files.
  • They can be supplied with approved libraries in the JRE to ensure that the latest versions of the standard libraries are used.
+4
source

Source: https://habr.com/ru/post/1379961/


All Articles