cancel
Showing results for 
Search instead for 
Did you mean: 

Build failed:Unsupported class version

Former Member
0 Kudos

Hi everyone,I was working on Hybris and was facing an issue after trying to build an environment from scratch.When I type ant clean on command line to build from scratch,I am getting an error message: "BUILD FAILED:java.lang.UnsupportedClassVersion".I will really appreciate if you can tell me the reasons of this error and the steps to rectify it.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

If you are using hybris 5.5.1+ you need to use java 8 https://wiki.hybris.com/display/release5/Release+5.5.1+Technology+Upgrade

michal_tomeczek
Explorer
0 Kudos

Hi, you should check Java version which you use to build platform. Unsupported class version means basically that you try compile your sources with version lower than some libraries used by source code were build with.

Former Member
0 Kudos

Hi,thanks a lot for your response.I am having jdk1.7.0_51 and jre7.What's the problem exactly?

Former Member
0 Kudos

Please check your Java version. If you are trying to build on a lower version than Java 1.7, you will get this error.