You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Pichkhadze, Badri" <Ba...@fmr.com.INVALID> on 2024/03/04 20:17:08 UTC

java runtime error

Hi getting this error, how can I resolve?

java.lang.UnsupportedClassVersionError: com/fmr/ap/decisionrouter/router/model/Trade has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Regards,
Badri


Re: java runtime error

Posted by Dmitri T <gl...@live.com>.
Pichkhadze, Badri wrote:
> Hi getting this error, how can I resolve?
>
> java.lang.UnsupportedClassVersionError: com/fmr/ap/decisionrouter/router/model/Trade has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
>
> Regards,
> Badri
>
Looking into Java class files general layout 
<https://en.wikipedia.org/wiki/Java_class_file#General_layout>

 1. You're using some custom .jar file which has compiled by Java 11
 2. You're running JMeter using Java 8

So you have 2 options:

 1. Recompile the custom .jar using Java 8 and replace it in JMeter
    Classpath
    <https://jmeter.apache.org/usermanual/get-started.html#classpath>
 2. Or upgrade the JVM you're running JMeter with to Java 11 (moreover
    it's recommended
    <https://www.blazemeter.com/blog/jmeter-memory-profiling> to use the
    latest JMeter and Java versions where possible)



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org