-
Notifications
You must be signed in to change notification settings - Fork 126
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
Java 8 is not supported #3207
Comments
@guangwang126 FYI |
@yegor256 thanks for the report, here is a feedback: Problems
I would recommend making the title more specific, such as "CI System Lacks Support for Java 8". Please fix the bug report in order it to get resolved faster. |
@c71n93 maybe you can try to help? |
@yegor256 yes, I will try |
@yegor256 I faced with such problems while trying to use java 8 for build. Both problems are due to the fact that some dependencies are compiled under java 11 (class file version 55), which does not allow to use runtime java 8 (class file version 52). Here log for error with
And here log for error with
As far as I understand, the only way to build and run eo under java 8 is to downgrade all dependencies to a version where the jar file in maven-central will be compiled under java 8. For example, for the @yegor256 The question is: do we really want to downgrade dependencies versions to be able to compile and run under java 8? I couldn't find any other options. |
@c71n93 maybe we can have so called "conditional" compilation in our |
@yegor256 yeah, maybe. I will try. |
@yegor256 @c71n93 It's important issue for me too. I use <plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.38.1</version>
<executions>
<execution>
<id>convert-xmir-to-eo</id>
<phase>process-classes</phase>
<goals>
<goal>print</goal>
</goals>
<configuration>
<printSourcesDir>${project.build.directory}/generated-sources/jeo-xmir</printSourcesDir>
<printOutputDir>${project.build.directory}/generated-sources/jeo-eo</printOutputDir>
</configuration>
</execution>
</executions>
</plugin> And on Java 8 I get the following error:
So, I had to disable this goals for now. |
@c71n93 I will get this issue since we need to solve it asap. |
Currently, in the CI we only support Java 11+. How about Java 8? Looks like it's still alive. Would be great to support it too.
The text was updated successfully, but these errors were encountered: