microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.94k stars 29.53k forks source link

Unable to install JDK via Get Started with Java Development prompt #164114

Closed melburnian closed 2 years ago

melburnian commented 2 years ago

Type: Bug

  1. Installed the Coding Pack for Java.app file.
  2. Navigated to Get Started with Java Development.
  3. Clicked the Install JDK button. a. This opened blank page "Install New JDK". Nothing happened.
  4. I opened terminal window to check java -version. This was displayed

    stevedavidson@Steves-MBP Activity_3.5_Searching An Array % java - version Unrecognized option: - Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.


VS Code version: Code - Insiders 1.73.0-insider (266ff5b78fc4a128994194e828e55b2bbeb0acbe, 2022-10-20T05:36:07.616Z) OS version: Darwin arm64 22.1.0 Modes: Sandboxed: Yes

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|4, 5, 5| |Memory (System)|8.00GB (0.06GB free)| |Process Argv|--crash-reporter-id 591cfb37-92d7-4b31-a75d-6ef6168371cf| |Screen Reader|no| |VM|0%|
Extensions (32) Extension|Author (truncated)|Version ---|---|--- vscode-django|bat|1.10.0 python-preview|don|0.0.4 python-environment-manager|don|1.0.4 python-extension-pack|don|1.7.0 gitlens|eam|2022.10.1905 js-snippets|ezr|0.1.3 copilot|Git|1.54.7077 Ionide-fsharp|Ion|7.3.1 java-test|jav|0.0.2 vsc-python-indent|Kev|1.18.0 csharp|ms-|1.25.0 python|ms-|2022.16.1 vscode-pylance|ms-|2022.10.30 jupyter|ms-|2022.10.1102941155 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.10 autodocstring|njp|0.6.1 junit-jar-downloader|raj|1.3.0 java|red|1.12.2022101904 preview-vscode|sea|2.2.5 vscode-checkstyle|she|1.4.1 umlet|the|15.0.0 python|tht|0.2.3 python-extended-snippets|tus|0.0.1 vscodeintellicode|Vis|1.2.29 vscode-java-debug|vsc|0.45.2022101323 vscode-java-dependency|vsc|0.21.2022101300 vscode-java-pack|vsc|0.25.3 vscode-java-test|vsc|0.37.2022090902 vscode-maven|vsc|0.39.0 vim|vsc|1.24.1 jinja|who|0.0.8
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30422396 pythontb:30258533 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 vscod805cf:30301675 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30404738 cppdebug:30492333 vsclangdf:30492506 c4g48928:30535728 dsvsc012cf:30540253 pylantcb52:30590116 pyind367cf:30587848 vsccc:30564266 pyindex848:30577858 nodejswelcome1:30587009 ```
gjsjohnmurray commented 2 years ago

/extJava

vscodenpa commented 2 years ago

It looks like this is caused by the Java extension. Please file the issue to the Java extension repository. Make sure to check their troubleshooting instructions and provide relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.

Happy Coding!