I have issues to run Eclipse Buildship tasks because the plugin doesn’t read variable JAVA_HOME.
My system configuration:
When I execute tasks:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:compileJava’.
Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_151 contains a valid JDK installation.