Title: unresolved module error in module-info.java · Issue #1021 · microsoft/vscode-java-debug · GitHub
Open Graph Title: unresolved module error in module-info.java · Issue #1021 · microsoft/vscode-java-debug
X Title: unresolved module error in module-info.java · Issue #1021 · microsoft/vscode-java-debug
Description: [provide a description of the issue] Trying to import external dependencies into a vscode java project having a module-info.java file and no build tool, causes unresolved errors in the module-info.java file. It seems module-info.class is...
Open Graph Description: [provide a description of the issue] Trying to import external dependencies into a vscode java project having a module-info.java file and no build tool, causes unresolved errors in the module-info....
X Description: [provide a description of the issue] Trying to import external dependencies into a vscode java project having a module-info.java file and no build tool, causes unresolved errors in the module-info....
Opengraph URL: https://github.com/microsoft/vscode-java-debug/issues/1021
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unresolved module error in module-info.java","articleBody":"[provide a description of the issue]\r\n\r\nTrying to import external dependencies into a vscode java project having a `module-info.java` file and no build tool, causes unresolved errors in the `module-info.java` file. It seems module-info.class isnt being generated in the output folder.\r\n\r\n```json\r\n \"version\": \"0.2.0\",\r\n \"configurations\": [\r\n {\r\n \"type\": \"java\",\r\n \"name\": \"Launch Current File\",\r\n \"request\": \"launch\",\r\n \"mainClass\": \"${file}\"\r\n },\r\n {\r\n \"type\": \"java\",\r\n \"name\": \"Launch App1\",\r\n \"request\": \"launch\",\r\n \"mainClass\": \"mail/mypack.App\",\r\n \"vmArgs\": \"--module-path /home/okonsamuel/javafx-sdk-11.0.2/lib --add-modules javafx.controls \"\r\n },\r\n]\r\n```\r\nAdding module-path and reference libraries doesn't seem to help.\r\nEverything works once I remove modules (i.e removing module-info.java) and use only packages in my project.\r\n\r\n##### Environment\r\n- Operating System: Linux x86_64\r\n- JDK version: 11\r\n- Visual Studio Code version: 1.56.2\r\n- Java extension version: 0.16.0\r\n- Java Debugger extension version: 0.34.0\r\n","author":{"url":"https://github.com/OkonSamuel","@type":"Person","name":"OkonSamuel"},"datePublished":"2021-06-15T09:14:12Z","url":"https://github.com/microsoft/vscode-java-debug/issues/1021"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:84cf9c42-6343-37be-335e-7a8408b5641c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2E4:37BA79:13757B:19EA08:6B073495 |
| html-safe-nonce | 253b7367a28a349765dd60145663520088bed459f744ad083e2ec950a32cdeeb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkU0OjM3QkE3OToxMzc1N0I6MTlFQTA4OjZCMDczNDk1IiwidmlzaXRvcl9pZCI6IjMwMTQxOTQ1NDI0NTYyODg0MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cebdde46d08149336e7a4be944233e97322a94bc061ea87faaeaf06f72ecdf26 |
| hovercard-subject-tag | issue:921184096 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-java-debug/1021/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90909d7dbb86727aac79296fff0590a3e1db5165d1bfaf209edc6a2ae969c8f0/microsoft/vscode-java-debug/issues/1021 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90909d7dbb86727aac79296fff0590a3e1db5165d1bfaf209edc6a2ae969c8f0/microsoft/vscode-java-debug/issues/1021 |
| og:image:alt | [provide a description of the issue] Trying to import external dependencies into a vscode java project having a module-info.java file and no build tool, causes unresolved errors in the module-info.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | OkonSamuel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a60952cad7efb2604ea85e500208f51c1ec1943aa260ac605c13eb46a1ed83b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-java-debug git https://github.com/microsoft/vscode-java-debug.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 102584737 |
| octolytics-dimension-repository_nwo | microsoft/vscode-java-debug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102584737 |
| octolytics-dimension-repository_network_root_nwo | microsoft/vscode-java-debug |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 345c27626db08417fdfc84278a4415ae9a48d8f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width