cancel
Showing results for 
Search instead for 
Did you mean: 

Is JDK on Alfresco a must?

darminm
Champ on-the-rise
Champ on-the-rise
Hello,

While preping for Alfresco environments I have an item that really creates a problem for our production environment.
Can Alfresco run using JRE instead of JDK?

Thanks
5 REPLIES 5

afaust
Legendary Innovator
Legendary Innovator
Hello,

most of Alfresco can generally run on a JRE, but there are small parts of it (JSPs) that absolutely require a JDK. So all in all the answer is "No, Alfresco can't / shouldn't be run on a JRE in production".
Also no Alfresco administrator would use only a JRE. By only using a JRE instead of a JDK you are missing out on administration / monitoring tools that may be valuable during production use, e.g. to perform an ad-hoc stack or memory dump for error analysis, update/maintain keystores for SSL encryption …

Regards
Axel

darminm
Champ on-the-rise
Champ on-the-rise
Axel,

I am with you on the using JDK from the administrator view of things.
Our security is concerned with JDK being deployed in production environment.

Thanks again!

darminm
Champ on-the-rise
Champ on-the-rise
Axel,

The "small part" of JSPs that require JDK - would those be Alfresco Share related JSPs or?
We will not be using Alfresco Share in our environment and just wanted to check…

afaust
Legendary Innovator
Legendary Innovator
Hello,

it depends on the Alfresco version. In Alfresco 5.0, the old Explorer UI was removed which was based heavily on JSPs. Share only contains one or two JSPs that are used, but unfortunately one of them is a central component in login / user dashboard redirection.
Looking through my local source tree, I can't see other JSPs in Alfresco 5.0 and above than the one(s) in Share, so if you don't use Share, you'll very likely not run into issues with JSP compilation (unless you install an addon that adds JSPs to the Repository).

"Our security is concerned with JDK being deployed in production environment." - Glad I am a consultant and always can delegate dealing with narrow-minded / stubborn security to a manager of the customer…

Regards
Axel

ricardoodon
Champ in-the-making
Champ in-the-making
the new version of Chrome does not work alfresco. is only carrying library, I checked what it was and realized it was caused by disabling the NPAPI. Already have an update for recognition.