10-02-2019 11:00 AM
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?
10-02-2019 11:20 AM
The addon is compiled with Java 11 and you are running Alfresco with Java 8.
10-03-2019 03:13 AM
Thank you but where do i install Java 11, on my local machine or the server? I am accessing the alfresco files using Putty
10-03-2019 03:20 AM
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
10-03-2019 11:47 AM
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
10-07-2019 03:10 AM
its running on Java 1.7 but i am having problem with installing Java on Linux server using Putty.
Explore our Alfresco products with the links below. Use labels to filter content by product module.