Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2022 11:27 AM
Please try adding the below(--add-opens flag) java command line flags in your jvm call:
% javac -classpath SparkJDBC42Example.jar:. jdbc_example.java
% java --add-opens=java.base/java.nio=ALL-UNNAMED -classpath SparkJDBC42Example.jar:. jdbc_example