Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
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