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?
The addon is compiled with Java 11 and you are running Alfresco with Java 8.
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
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
its running on Java 1.7 but i am having problem with installing Java on Linux server using Putty.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.