Alfresco share page gives error

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

Alfresco share page gives error

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
Highlighted
Alfresco Employee

Re: Alfresco share page gives error

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

Software Engineer in Alfresco Search Team.
Highlighted
Active Member

Re: Alfresco share page gives error

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

Highlighted
Active Member

Re: Alfresco share page gives error

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

Highlighted
Moderator
Moderator

Re: Alfresco share page gives error

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-C02)
Highlighted
Active Member

Re: Alfresco share page gives error

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