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

defects4j compile error #561

Open
Judgh opened this issue Apr 29, 2024 · 2 comments
Open

defects4j compile error #561

Judgh opened this issue Apr 29, 2024 · 2 comments

Comments

@Judgh
Copy link

Judgh commented Apr 29, 2024

this is my java version
openjdk version "11.0.19" 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+7-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.19+7-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)

It is still reporting the following error.

[javac] warning: [options] bootstrap class path not set in conjunction with -source 5
[javac] error: source option 5 is no longer supported. Use 6 or higher.
[javac] error: target option 1.5 is no longer supported. Use 1.6 or higher

@mernst
Copy link
Collaborator

mernst commented Apr 29, 2024

Unfortunately, this is not enough information for us to help you.
A bug report should contain:

  • a complete set of commands to reproduce the problem, that can be cut-and-pasted into a shell. The first command should be one that downloads or clones Defects4J.
  • the complete output.

@rjust
Copy link
Owner

rjust commented May 9, 2024

@Judgh Defects4J v2 (current version) requires Java 8. Defects4J v3 (to be released soon) will support Java 11.

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

No branches or pull requests

3 participants