-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignoring settings for Java version #768
Comments
Could you share us the following info?
|
So...having closed the application in IntelliJ, closed vs code, re-opened the project in vs code to get the process explorer data, it has now picked up the correct version. I had closed down vs code before, so not sure what has changed this time. What do you mean by what Java version is my project using? It is built with gradle and no specific version of Java is set anywhere other than the places I outlined. |
For gradle project, it will use the current JVM version if you didn't specify java version explicitly. So you cannot reproduce the issue, right? |
No - not at present. |
I have JAVA_HOME set to /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
I also have "java.home": "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home" in my user configuration file.
Environment
Steps To Reproduce
Current Result
Runs with Open JDK 11.
Expected Result
Runs with Open JDK 8.
Additional Informations
When I run the same project with IntelliJ it happily picks up my JAVA_HOME environment variable and uses the correct version of Java.
The text was updated successfully, but these errors were encountered: