'keywords 'java|openjdk version' not found in 'picked up java_tool_options: -d' error
Everytime I try to build or rebuild my solution this error shows up:
keywords 'java|openjdk version' not found in 'picked up java_tool_options: -d'
I have already uninstalled and installed java, a specific version that my coworker has and we use to work, and it's still the same. This didn't happen before, but now we can't find a way to fix this.
I'm using:
Visual Studio 2015
JDK8_231
Thanks!
EDIT: I found a way to fix this!
Windows
- Download the JDK you want.
- Extract it to C:/Program Files/Java/[your jdk path/version] or whatever location you want
- Go to your environment variables (In windows search type "Environment Variables" -> Click "Edit the system environment variables" -> click "environment variables")
- Find the PATH variable for the user
- Add C:/Program Files/Java/[your jdk path/version] variable
Hope this helps someone else!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
