Title: Internal error when starting JLS with JDK 9 · Issue #359 · redhat-developer/vscode-java · GitHub
Open Graph Title: Internal error when starting JLS with JDK 9 · Issue #359 · redhat-developer/vscode-java
X Title: Internal error when starting JLS with JDK 9 · Issue #359 · redhat-developer/vscode-java
Description: The JLS is not starting up and dumping errors at 22%. The JLS error logs indicate an illegal argument exception java.lang.IllegalArgumentException: Could not determine java version from '9.0.1'. See error log below: Is this vs code exten...
Open Graph Description: The JLS is not starting up and dumping errors at 22%. The JLS error logs indicate an illegal argument exception java.lang.IllegalArgumentException: Could not determine java version from '9.0.1'. Se...
X Description: The JLS is not starting up and dumping errors at 22%. The JLS error logs indicate an illegal argument exception java.lang.IllegalArgumentException: Could not determine java version from '9.0.1&...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/359
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Internal error when starting JLS with JDK 9","articleBody":"The JLS is not starting up and dumping errors at 22%. The JLS error logs indicate an illegal argument exception java.lang.IllegalArgumentException: Could not determine java version from '9.0.1'. See error log below:\r\n\r\n- Is this vs code extension able to support **Java 9** at this stage or must I use Java 8 in the interim?\r\n- Is there any workaround?\r\n\r\n##### Environment\r\n- Operating System: Mac OS X 10.12.4 x86_64\r\n- JDK version: **9.0.1** (Oracle Corporation 9.0.1+11)\r\n- Visual Studio Code version: 1.17.2\r\n- Java extension version: **0.13.0**\r\n- Gradle: 4.3\r\n\r\n##### Steps To Reproduce\r\n1. Install JDK 9\r\n2. Install Gradle 4.3\r\n3. Initialise/create a gradle Java project\r\n4. Open the java project in vs code from the root folder\r\n5. Open a java source file in vs code and the JLS will not start\r\n\r\n##### Current Result\r\n\r\n[Error - 00:13:50] 6 Nov 2017, 00:13:48 An internal error occurred during: \"Initialize Workspace\".\r\nCould not determine java version from '9.0.1'.\r\njava.lang.IllegalArgumentException: **Could not determine java version from '9.0.1'**.\r\n\tat org.gradle.api.JavaVersion.toVersion(JavaVersion.java:70)\r\n\tat org.gradle.api.JavaVersion.current(JavaVersion.java:80)\r\n\tat org.gradle.internal.jvm.UnsupportedJavaRuntimeException.assertUsingVersion(UnsupportedJavaRuntimeException.java:29)\r\n\tat org.gradle.tooling.internal.consumer.ConnectorServices.checkJavaVersion(ConnectorServices.java:57)\r\n\r\n##### Expected Result\r\nJLS is able to recognise Java 9 as a valid/supported Java version.\r\n\r\n##### Additional Informations\r\n\r\nvs code java.home setting is pointing to JDK 9 as below:\r\n\r\n\"java.home\": \t\"/Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home\"","author":{"url":"https://github.com/sundayoyeniyi","@type":"Person","name":"sundayoyeniyi"},"datePublished":"2017-11-06T00:59:17Z","url":"https://github.com/redhat-developer/vscode-java/issues/359"}
| 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:2e44fa9f-4586-2b9b-f77d-3b3373caa2b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 960A:16AF6A:1A8A10:24A51C:6B07412F |
| html-safe-nonce | ae63e2034791185ff5afd9551a9f97289d239146e1da25b9555a10f6d9fccb75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjBBOjE2QUY2QToxQThBMTA6MjRBNTFDOjZCMDc0MTJGIiwidmlzaXRvcl9pZCI6IjE4MTgxNTI4MzIxOTM4MjU3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d67926e3656fc917b8a6ed662cfa5644c72e448c0323aff67d4c006996e4b724 |
| hovercard-subject-tag | issue:271332013 |
| 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/redhat-developer/vscode-java/359/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1566b2ac1c8678eb37618a44c013703f7280631e745f1a14b10d287c7723d6e6/redhat-developer/vscode-java/issues/359 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1566b2ac1c8678eb37618a44c013703f7280631e745f1a14b10d287c7723d6e6/redhat-developer/vscode-java/issues/359 |
| og:image:alt | The JLS is not starting up and dumping errors at 22%. The JLS error logs indicate an illegal argument exception java.lang.IllegalArgumentException: Could not determine java version from '9.0.1'. Se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sundayoyeniyi |
| hostname | github.com |
| expected-hostname | github.com |
| None | e906c59266d83416af9bcc8b61b9a96e70a3a84a066bd24f6671c193dd134a04 |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-java |
| 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 | a8418b8cd1f6ecc99bee02e3f7dde540702dd08c |
| 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