Wednesday, October 4, 2017

Solve "Unsupported major.minor version 52.0" Java Version Incompatibility Issue in Two Steps

  1. Check pom.xml, if compiled via Maven for example, the java Version it's gonna apply.
  2. Use the following command to switch java version on both machines, machine that compiles the jar file and machine that run this jar file respectively, to make them identical.

    alternatives --config java
    

No comments:

Post a Comment