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 Strings and Variables

I have weird information in my console - "Picked up JAVA_TOOL_OPTIONS: -Xmx128m

When I watch in the screen, the instruction doesn't get these weird statements: "Picked up JAVA_TOOL_OPTIONS: -XMS 128m" as words. But that is what I get.

How do you take/add screen shots of what you're seeing?

2 Answers

On Treehouse, you will normally get two messages along the lines of "Picked up JAVA_TOOL_OPTIONS: -XMS 128m", these can be ignored. It is just telling you that java is getting a setting. (Tree house undoubtedly set it up that way. That particular message is where they are setting the initial size of the heap. Like I said, you can ignore it.)

As to why Craig doesn't get that on his screen, I can only assume they changed the Treehouse workspace environment after he recorded the course.

When you run the compiler (javac filename.java), those are normally the only messages you will get, unless you have an error. When you actually run your program, if you don't see anything else besides those messages, then your program isn't outputting anything.

Awesome. Thank you!