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 Exploring Your IDE Creating Your First Project

Courtney Mahida
Courtney Mahida
2,367 Points

I'm trying to wrap my mind around what is considered 'internal' libraries in java and what is 'external' libraries?

For example, since I am new to java and I'm told to solve a problem but I'm not allowed to use any external libraries to solve the problem, but I may use external libraries or tools for building or testing purposes. Since we've been importing a lot in this course -- is this import process from collections considered an external library or not?

1 Answer

Rob Bridges
.a{fill-rule:evenodd;}techdegree seal-36
Rob Bridges
Full Stack JavaScript Techdegree Graduate 35,467 Points

Hey Courtney, you will be fine to import in Collections, they are part of the JDK version that you download, so considered an internal library.

An external library would be something like, Junit, Spring, and other frameworks that are not native code to Java, and instead were created by a third party source.

A good check would be to look up something in Java if you're not sure, if there's an Oracle page listing out the methods of the item than you can assume it is an internal library.