- Check pom.xml, if compiled via Maven for example, the java Version it's gonna apply.
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