Skip to content
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

Cannot compile with Java 8 #59

Open
jespertp-systematic opened this issue May 28, 2022 · 2 comments
Open

Cannot compile with Java 8 #59

jespertp-systematic opened this issue May 28, 2022 · 2 comments

Comments

@jespertp-systematic
Copy link

It is no longer possible to compile using java 8.
The following error occurs:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project jdt2famix: Compilation failure
[ERROR] /C:/Users/jpn/Downloads/source/jdt2famix_2/src/main/java/com/feenk/jdt2famix/Importer.java:[33,55] cannot access org.eclipse.core.runtime.Plugin
[ERROR] bad class file: C:\Users\jpn.m2\repository\org\eclipse\platform\org.eclipse.core.runtime\3.24.100\org.eclipse.core.runtime-3.24.100.jar(org/eclipse/core/runtime/Plugin.class)
[ERROR] class file has wrong version 55.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.

It seems that the dependency "org.eclipse.core.runtime" is no longer available for java 8 (version 52.0).

@girba
Copy link
Member

girba commented May 28, 2022

Indeed, we moved away from that version of Java.

@jespertp-systematic
Copy link
Author

Does that mean that it should be build with java 11 instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants