-
Notifications
You must be signed in to change notification settings - Fork 93
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
javafx.graphics does not export com.sun.javafx.scene.layout to unnamed module #6
Comments
Hey, this is due to javafx using the jigsaw java module system and chart-fx not using it. There are multiple ways to resolve this:
This was one of the major hurdles in adding support for openjdk11/openjfx, obvously documentation for this should be improved. |
I just looked up the required JVM arguments, in eclipse they have to be added to |
I have added this information to the README.md, and will close this issue, feel free to reopen or create a new issue if you have more questions/problems. |
Hi,I hava a question:I already added JVM arguments but when I running my code,it's show Module javafx.swing not found.And I have been used Maven to add the dependent of javafx-swing |
Hey @Niekaiyuan, since last year, we have been able to eliminate chart-fx's dependency on the javafx-swing module. So you should just remove the chartfx-swing entry from the add-modules list assuming your project doesn't otherwise use this module. I will update the README.md accordingly, thanks for bringing this up and please report back if this was indeed the problem. |
I get a runtime exception when running any example.
I use java11 and this commit:
8f5afda
Here is the exception:
/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:56233,suspend=y,server=n -
......
The text was updated successfully, but these errors were encountered: