Gradle JAVA_HOME path in eclipse


I have a problem running Gradle project in eclipse Neon.2. I find out that there is a problem with JDK path. Somehow my gradle in elipse always use some strange JRE as a Java Home, when it should use a path to a JDK. I double checked my settings in eclipse and system variables, but still i cant find the solution.

I searched for answers and find out that people suggested changing Gradle settings in elipse. I did all the settings but it still doesnt work.

All the settings

Btw, if I manualy set the Java Home while creating Gradle project it all works fine. But it has to work on other computers so I cant really use that solution.

That works fine

Show source
| java   | gradle   | eclipse   2017-01-07 13:01 0 Answers

Answers to Gradle JAVA_HOME path in eclipse ( 0 )

Leave a reply to - Gradle JAVA_HOME path in eclipse

◀ Go back