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 Local Development Environments How it Works The Java Virtual Machine

Environment

When Craig said There's a specification that must be followed by all environments that want to provide an implementation of a JVM. What does he mean by environment ?

It sounds like he is referring to IDEs (Integrated Development Environment) like Eclipse or IntelliJ IDEA

2 Answers

Kristian Gausel
Kristian Gausel
14,661 Points

What he means by this is that for something to call itself a java virtual machine, it must follow these specifications: https://docs.oracle.com/javase/specs/jvms/se7/html/ Otherwise it will not be able to run java code as expected. PS: This is VERY technical, and you need not worry about it, unless you want to implement a JVM.

The reason this is mentioned is probably because there are a lot of different JVM's to choose from, even though Sun's is the most common one, but since they all follow the same specifications, you can in theory choose any JVM you'd like. (In theory)

Now I get it thanks guys