Skip to Content
Author's profile photo deepthi polipilli

Building hybris suite from console-facing the major.minor version 52.0 error

Hi Everyone,

Am very new to SAP Hybris.

While am taking the initial step to extract the hybris commerce suite 6.1 and  setup the environment, I faced the unsupported version error.

While setting up the hybris suite from console, you may face the following error.


java.lang.UnsupportedClassVersionError: de/hybris/ant/taskdefs/DbDriverValidator : Unsupported major.minor version 52.0


This will happen because of Java version Compatibility, which means in your system if your using more than one jdk. This error will occur.


Go to your

ControlPanel->Advanced system settings->Environment variables

In the Edit system variable, if your find the text as  path, then click on edit and check if you have more than one jdk exists.

If you found any, then remove those jdks and put only one jdk which is used for building Hybris suite.
Then click on ok.

And Restart your system once.

After completion of Restart, Follow the below steps.

1.Run your hybris suite from console.

2.By setting ant environment by the command in the below path

hybrissuitefolder/hybris/bin/platform: setantenv.bat

3.Now, check the javaversion by giving a command like java -version

4.Once check if the java version is related to your hybris suite for running.

5.If not change your jdk version.

6.If you found that java version is related to run your hybris suite then, do an ant all.

7.And start the hybris server by giving the command as hybrisserver.bat

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.