Replies: 1 comment
-
Is this still an issue even now ? When I look at what's on the VS Code Marketplace for 1.14.0 win32-x86_64, I can see There are a few interesting things that happened in our 1.14.0 release though :
The version without the JRE should only be installed on a system that is not one of the following : |
Beta Was this translation helpful? Give feedback.
-
I initially was going to post an issue about this, but I managed to figure it out and I figure I might as well post something in case it helps someone else.
issue resolution tl;dr
My redhat.java auto-updated from 1.13.0 to 1.14.0 and when it did that, the jre folder was missing inside of it. Possibly a network failure or maybe it used an endpoint which was firewalled. I typically install via the cli in a script I've written. I reinstalled 1.13.0 to get the jre folder back then tried 1.14.0 and managed to get a jre folder when installing from the cli.
However when I reinstalled 1.14.0 VSCode did not recognize that install so I reinstalled 1.13.0 at the cli and it did recognize that install. So currently my extension seems to be fixed and I'll be disabling autoupdate for now.
Troubleshooting steps long version
I reinstalled 1.13.0 via
code --install-extension redhat.java@1.13.0
and found that it did have the jre. Ultimately I ran it again for 1.14.0 (code --force --install-extension redhat.java@1.14.0
) to take 1.14.0.In between I ran that command improperly once (
code --install-extension redhat.java@1.13
) - omitting the last version - and also renamed the folder for these which might have caused the issue.Steps I tried to fix it:
This happened on a corporate computer where I don't have total freedom to mess around too much or provide too much information about my system or code.
Beta Was this translation helpful? Give feedback.
All reactions