Jump to content

Visual Studio 2022 - Higher JVM version is required


Recommended Posts

Hi,

I'm getting the following error from CodeLens after installing for Visual Studio:

image.thumb.png.fc30294a9b16c15c6402d59aa0d585e0.png

image.thumb.png.1760558887dcbd63769403ec7ebf1d22.png

I have these versions of Java Installed:

image.thumb.png.d6ad6a202c2b91590779d4b2b0bcbcb1.png

And this in my PATH Env Vars: C:\Program Files\Java\jdk-18.0.2.1\bin

I believe this to be related to

and have attempted the suggested fixes but have not had any luck.

Any assistance would be appreciated.

 

Link to comment
Share on other sites

Hi,

Figured the solution out, Plastic for some reason must have the Java Runtime Environment installed. So you need to install the jre. Once its installed I set the path variable to point there i.e. C:\Program Files\Java\jre1.8.0_341\bin.

I've never had to install jre alongside jdk before, and makes it a little bit more difficult to setup my java dev env. Hopefully this can be fixed in future.

Cheers, 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...