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 trial

Java Java Basics Getting Started with Java Strings and Variables

Matthew Glick
Matthew Glick
2,638 Points

Version of Java

What version of Java does team tree house teach?

1 Answer

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

If you want to know version of Java in Workspaces, one any workspace and type:

java -version

I opened Workspace from your video, typed that and got:

java version "1.8.0_65"                                                                                                                
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)                                                                                   
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) 

And if you want to know the location of JDK go here:

cd /usr/lib/jvm/jdk1.8.0_65

Which means that when you type javac it is using javac from exactly this location:

/usr/lib/jvm/jdk1.8.0_65/bin/javac

The latest one probably would be 1.8.0_101-2, according to

https://en.wikipedia.org/wiki/Java_Development_Kit

But I don't think that you will spot the difference between _65 and _101 :)

The changes will be minor for you, but if you want to dig, go ahead here (all versions links):

http://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html

About

What version ... they teach

Well, I think they teach JAVA 8 the lates: which means Lamdbas, and all others new stuff, check here

http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html

They encourage you to use the new functionality, because it is the future of Java.