Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why JRE with Liferay

Tags:

java

liferay

I downloaded Liferay Tomcat bundle and I can see that there is a JRE inside TOMCAT_HOME. Why this JRE. The JRE is not present there if I download Tomcat from Apache website.

Any idea?

like image 472
Piyush-Ask Any Difference Avatar asked Dec 21 '22 06:12

Piyush-Ask Any Difference


2 Answers

The JRE is included with Liferay bundle because it is designed to work out of the box with no need for user configuration (like installing Java and configuring Tomcat). It's also the JRE Liferay has been tested & built with.

like image 165
Jonny Avatar answered Dec 24 '22 02:12

Jonny


I don't know anything about Liferay specifically but there are a few reasons someone might want to control the JRE.

  • They may only support a specific version.
  • They may want their application to not have any dependencies making it easier to install
  • They may want to enable unlimited strength JCE policy files.
  • They may ship with endorsed libraries in the JRE to ensure that the newest versions of standard libraries are being used.
like image 43
Pace Avatar answered Dec 24 '22 00:12

Pace