VScode is good, and I was introduced to it in sync, so I tried it. https://www.suzu6.net/posts/130-vscode-for-java/ I prepared the environment with reference to this person’s blog, but since I was a little stumped on how to pass the path, I will post it.
Install the extension
Java Extension Pack for Java in VScode,
Create a new project using maven with
I confidently compiled with
Build path specifies execution environment JavaSE-1.8.There are no JREs installed in the workspace that are strictly compatible with this environment. The compiler compliance specified is 1.8 but a JRE 14 is used
I got the above error.
For now, if you look at pom.xml
1.8… As a test, I tried changing 1.8 to 14 and the error was resolved. It seems to be a word that specifies the compiled version of java with maven.
When I look it up, https://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html There seems to be another way to set the compiler.
I want to be a fast engineer. .. ..