-
Notifications
You must be signed in to change notification settings - Fork 332
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
Simple Java Project not working #4847
Comments
Thanks for reporting! We do have a limited Java support and it should always compile correctly, so this might be soemthing that we need to take a look into. |
Great to hear! |
Looks like we are missing javafx in the classpath. Currently, we need the Metals Java classpath to correspond to the one you need to use. Could you make sure that Let me know if any of that helps you out! |
Looks like the source of issues is |
Thank you! |
Describe the bug
Actually, I was trying to create a sample project, for a more complicated bug, but then I noticed that my "minimal project" doesn't seem to work without any changes
https://github.com/JPro-one/HelloJPro.
This is a pure Java project. The question is, is that supposed to work?
I'm asking because Metals it's a scala language server.
When I look into my other projects, the Java parts sometimes work with Metals/Bloop, and sometimes not.
But Metals/Bloop is always trying to compile it, so I guess it's in the scope of the project.
So, I thought I start by posting the most simple case as a bug report.
If you wonder why I post this, I usually have a lot of mixed Scala/Java projects.
Expected behavior
No response
Operating system
macOS
Editor/Extension
None
Version of Metals
v1.21.0
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: