SwipeX / PokeMate

Automated PokemonGo Application
GNU General Public License v3.0
111 stars 45 forks source link

Build failed, Could not find tools.jar #173

Closed JamFox closed 8 years ago

JamFox commented 8 years ago

Build keeps failing because it can't fin tools.jar even though its here C:\Program Files\Java\jdk1.8.0_45\lib

SwipeX commented 8 years ago

your java is still set in your env variables to java 7 it seems?

run java -version

kylestev commented 8 years ago

What version of Gradle do you have? what is the value of Java home in your environment variables?

On Thu, Jul 28, 2016 at 10:04 JamFox notifications@github.com wrote:

Build keeps failing because it can't fin tools.jar even though its here C:\Program Files\Java\jdk1.8.0_45\lib

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SwipeX/PokeMate/issues/173, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyBcwhARl-Dghfz3seDb5BgpMtz0wYdks5qaLbggaJpZM4JXPwM .

JamFox commented 8 years ago

Java version 1.8.0_101, I did a google search before making this issuetopic and changed the value in env variables but it still does not work

kylestev commented 8 years ago

If you change the environment variable, you will need to close and reopen the application you were using to run the build task.

JamFox commented 8 years ago

I did, still gives me the same error

JamFox commented 8 years ago

It's looking for tools.jar from the wrong place Program Files(x86)\Java\jre...

kylestev commented 8 years ago

This StackOverflow answer might help you. I am closing this as this isn't a problem with PokeMate, rather your Java development environment.