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 trialScott Junner
9,010 PointsGetting java version on windows 10 confusion. Things have changed since this video.
When I installed Android Studio 2.3 on my Windows 10 system I never actually took the step of installing java myself. I just installed AndroidStudio and it automagically "Just Worked".
Now I go to find out what java sdk version I'm using and it's not there. Not installed. So how the heck is AndroidStudio working at all?
In my search for answers I find under C:\Program Files\Android\Android Studio\jre\jre\bin a file named java. Hovering over it I get a little extra info telling me it is "OpenJDK Platform binary", version 8.0.1120.6
My assumption is that OpenJDK 8.0.1120.6 is the equivalent of the Java SDK 1.8.
Is this going to work? Or do I have to reinstall everything starting with Oracle Java SDK?
1 Answer
Ben Deitch
Treehouse TeacherHey Scott! I'm not entirely sure about all that, but it seems fine to me. If you're able to create/run new projects, then I wouldn't worry about it. Also, if you're curious which JDK you're using, go to File -> Project Structure, and then click the 'SDK Location' tab on the left and Android will let you know which Android SDK and JDK you're using.
Scott Junner
9,010 PointsScott Junner
9,010 PointsSorry yes. Should have answered this previously. All seems to work fine.