-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mvn error : release version 7 not supported #1416
Comments
In general when reporting issues please provide at least the following info:
Anyway, pom.xml currently specifies version 7 to be compatible with very old JVMs, but recent version of java have started to drop support for cross compilation to old releases, in particular Java 20 removed support for 7: https://bugs.openjdk.org/browse/JDK-8173605 For a quick fix you can just replace @marci4 Any thoughts how this can be resolved long-term (since JDK will keep deprecating target versions) for users who want to build from source? Maybe update normal pom.xml to use newer target and use 7 only for Maven Central releases via config option. |
Hey @PhilipRoman, To be honest, I have no good idea solving this java 7 problem. The main problem for me is that I don't develop any android app and I therefore have no real clue if us using java 8 is a problem or not. Maybe I am just paranoid, idk :D I am fine with adjusting the default, I am also fine with leaving it as is. I would expect most people trying to build a library to adjust it themselves if needed. Best regards, |
Removing support for 1.7 with #1434 |
I get this error when i run the compile with visual studio code:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project Java-WebSocket: Fatal error compiling: error: release version 7 not supported -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS C:\Temp\Java-WebSocket-master\Java-WebSocket-master>
Any help is appreciated.
The text was updated successfully, but these errors were encountered: