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

[critical] Fail to debug with java 23 - Unrecognized option: -Xnoagent #561

Closed
gayanper opened this issue Jul 18, 2024 · 2 comments · Fixed by #562
Closed

[critical] Fail to debug with java 23 - Unrecognized option: -Xnoagent #561

gayanper opened this issue Jul 18, 2024 · 2 comments · Fixed by #562

Comments

@gayanper
Copy link
Contributor

When trying to debug a program using java 23 EA version I get the following error

penJDK 64-Bit Server VM warning: Option -Xdebug was deprecated in JDK 22 and will likely be removed in a future release.
Unrecognized option: -Xnoagent
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
@gayanper
Copy link
Contributor Author

@testforstephen Seems like this is cause by the line

@testforstephen
Copy link
Contributor

thanks for the reminder. We reference this parameters -Xdebug and -Xnoagent from the old JDT source code, it's time to remove them since they're deprecated.

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

Successfully merging a pull request may close this issue.

2 participants