I keep getting the below message but I have checked and set up the path in Java: Home to the path mentioned in the below message ("salesforcedx-vscode-apex.java.home": "C:\Program Files\Java\jdk-18.104.22.168"). I am fairly new to development so not sure how else to tackle this..
Local Java runtime ("salesforcedx-vscode-apex.java.home": "C:\Program Files\Java\jdk-22.214.171.124") is unsupported. Set the salesforcedx-vscode-apex.java.home VS Code setting to a runtime outside of the current project. For more information, go to Set Your Java Version.
My projects are in a separate directory 'C:\Users\qbuser\Documents' so not sure why the project directory is being mentioned? Should the project not be in C:? I would also like to note that so far this has not affected my lwc development or basic apex, but they have also been basic development tasks.