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 Introduction to Your Tools

codes do not work.

Picked Up JAVA_TOOL_OPTIONS: - Xmx128m Picked up _ JAVA_OPTIONS : -Xmx128m Error : Could not find or load main class introductions

What's wrong with my codes!?

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! First, the lines that start with Picked Up are not error messages but rather informational messages about memory options that Treehouse has set for the JVM in workspaces.

The one error message you have is that it cannot find main in class "introductions". Keep in mind that these are case-sensitive. It looks like you might have tried to compile and run "introductions" instead of "Introductions". If your code and file names match the video exactly, then the class should be named "Introductions"

Give it another shot with the correct capitalization, but let me know if you're still stuck! :sparkles:

Thanks for your tips!

Introductions instead of introductions