Home > Mobile >  JDK 1.6 Tomcat 6.0.53 cannot start inside Eclipse EE 2022-12
JDK 1.6 Tomcat 6.0.53 cannot start inside Eclipse EE 2022-12

Time:01-05

I am using JDK 1.6, Error

FATAL ERROR in native method: processing of -javaagent failed
java.lang.UnsupportedClassVersionError: org/eclipse/jdt/launching/internal/javaagent/Premain : Unsupported major.minor version 51.0

If run standalone, success

enter image description here

enter image description here

if run debug inside Eclispe for Java EE 2022-12

enter image description here

enter image description here

enter image description here

How to fix it?

CodePudding user response:

You can't. The needed classes are no longer compatible with Java 1.6, which in fairness ended free public updates close to a decade ago. The "solution" is to use an older IDE release.

  • Related