You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by "mr_djzhu@163.com" <mr...@163.com> on 2016/11/15 12:40:41 UTC

unsupported major.minor version 51.0

I used to use jdk 1.7 to compile my .jar package and the project runs very well in ubuntu 14.04 with jdk 1.6.  However, when i restart the storm today this exception occured. 
I have found a lot of passages tell me what this exception mean. It is about because of the differece of jvm version. But when i try to compile source with jdk1.6. It still so. 
Please tell me why~ and how to solve Thanks~

My storm version is 0.9.5 and the cluster seems to run well.




Best regards!
Charles.Zhu

Re: unsupported major.minor version 51.0

Posted by Ambud Sharma <as...@gmail.com>.
Java is not backwards compatible I.e. you can't compile with 1.7 and run on
1.6.

Solution: compile on 1.6 or run on 1.7

On Nov 15, 2016 9:17 PM, "mr_djzhu@163.com" <mr...@163.com> wrote:

> I used to use jdk 1.7 to compile my .jar package and the project runs very
> well in ubuntu 14.04 with jdk 1.6.  However, when i restart the storm today
> this exception occured.
> I have found a lot of passages tell me what this exception mean. It is
> about because of the differece of jvm version. But when i try to compile
> source with jdk1.6. It still so.
> Please tell me why~ and how to solve Thanks~
>
> My storm version is 0.9.5 and the cluster seems to run well.
>
>
> ------------------------------
> *Best regards!*
> *Charles.Zhu*
>