Ask Your Question
1

What does the "Invalid source release 1.7" error mean when using gradle for compilation?

asked 2022-06-16 11:00:00 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-06-17 14:00:00 +0000

pufferfish gravatar image

The "Invalid source release 1.7" error means that the version of Java being used by Gradle for compilation is lower than the required version. In this case, the code is written for Java 7, but the version being used for compilation by Gradle is lower than Java 7. This error can be resolved by upgrading the version of Java being used by Gradle to Java 7 or higher.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-06-16 11:00:00 +0000

Seen: 11 times

Last updated: Jun 17 '22