cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco share page gives error

resegok
Champ on-the-rise
Champ on-the-rise

Hello there

i had applied some .amp files on alfresco and i get the following error when trying to open the share page ahilw other alfresco admin are accessible

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/alfresco/repo/module/tool/ModuleManagementTool : Unsupported major.minor version 52.0

What could i have done wrong?

5 REPLIES 5

angelborroy
Community Manager Community Manager
Community Manager

The addon is compiled with Java 11 and you are running Alfresco with Java 8.

Hyland Developer Evangelist

Thank you but where do i install Java 11, on my local machine or the server? I am accessing the alfresco files using Putty

i am also having this error when trying to open share login page. What could be the problem

HTTP Status 404 - /share/page


type Status report

message /share/page

description The requested resource is not available.


Apache Tomcat/7.0.x

abhinavmishra14
World-Class Innovator
World-Class Innovator

What is the java version on your server ? Please check the java version. 

Use command to check the java version: java -version

The module management tool "alfresco-mmt.jar" is compiled with JDK 1.8. It seems that, server is using JRE 1.7 or lower version. 

Unsupported major.minor version 52.0 comes when you are trying to run a class compiled using Java 1.8 compiler into a lower JRE version e.g. JRE 1.7 or JRE 1.6.

Simplest way to fix this error is to install the latest Java release i.e. Java 8


~Abhinav
(ACSCE, AWS SAA, Azure Admin)

its running on Java 1.7 but i am having problem with installing Java on Linux server using Putty.