I'm trying to execute test automation using Java + Appium on Mac OS. I have made few changes after that I am getting error:

Fatal error compiling: invalid target release

It was working well previously. After changes its continuously failing. Any idea what can be a root cause or you might have experienced before? How to resolve the error?


Root cause :

I have set your %JAVA_HOME to jdk 1.7, but you are trying to compile using jdk 1.8

Follow steps to correct -

  1. "Run Configuration"
  2. Under "Maven Build", Select configuration you are using
  3. Click on "JRE" tab
  4. Select Correct JAVA Version
  • Those are suggestipns for which IDE? – dzieciou Aug 26 '18 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.