Unsupported major.minor version 52.0

Seven Stars

Unsupported major.minor version 52.0

Exception in thread "main" java.lang.UnsupportedClassVersionError: hpi_ice_dev_proj/kai_shipment_mdas_merge_0_1/KAI_SHIPMENT_MDAS_MERGE : Unsupported major.minor version 52.0

I am getting the above error while running a bigdata job in cluster.

attaching the configuration screenshots.

please help me.

 


Accepted Solutions
Moderator

Re: Unsupported major.minor version 52.0

Hello,

Please make sure that  you are using the same java version for your hadoop cluster and talend studio.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Seven Stars

Re: Unsupported major.minor version 52.0

Hi,

 

In the hadoop cluster the java version was 1.7 and talend was compiling code with 1.8 java

I downgraded the talend code compilation to 1.7 and jobs ran successfully in cluster .

 

compilation_version_Java_change.jpg


All Replies
Moderator

Re: Unsupported major.minor version 52.0

Hello,

Please make sure that  you are using the same java version for your hadoop cluster and talend studio.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Seven Stars

Re: Unsupported major.minor version 52.0

Hi,

 

In the hadoop cluster the java version was 1.7 and talend was compiling code with 1.8 java

I downgraded the talend code compilation to 1.7 and jobs ran successfully in cluster .

 

compilation_version_Java_change.jpg

Moderator

Re: Unsupported major.minor version 52.0

Hi,

Have you tried to use java 1.8 in hadoop cluster server to see if it works? Downgrading the talend code compilation to 1.7 might cause other compile error in studio.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Unsupported major.minor version 52.0

Hi Team we did install and configure Talend 7.0.1 Real Time big data platform. Talend servers and studio is using jdk 1.8update171. servers are up and running and basic configuration is done.

 

However, during our end to end test execution with TAC and Job server, we get class major.minor 52.0 not supported error as per screen below. Same error when job is executed on job server via remote run.

 

the job is having tjava only to print hello and gets error attached.

 

This gets fixed in previous versions like 6.5 or 6.4 when we change jdk compliance to 1.7. In this case, even doing so results in same error.

 

As per Talend community forum notes, as long as jdk 1.8 is applied, it should work. In this case, it doesn't and looks like potential bug. Is there a patch available. pfa for error.

Moderator

Re: Unsupported major.minor version 52.0

Hello Kashyap88

Could you please create a case on talend support portal so that our colleagues from support team will check your issue  to see if a patch will be available.

Best regards

Sabrina

 
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.