Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialVictor Warner
1,882 PointsJAVA_HOME
'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.
i had changed the envirnomental settings in properties to b/java/jdk something but it still does not register when i open up adnroid studios need help asap
2 Answers
J.D. Sandifer
18,813 PointsI had a similar problem when I set up Android Studio. What fixed it for me was adding a "\" to the end of the JAVA_HOME variable. E.g. C:\SomeFolder\Java\jdk1.8.0_42\ instead of just C:\SomeFolder\Java\jdk1.8.0_42.
Try that and see if it works for you.
Victor Warner
1,882 Pointsi just did that and it still didnt work