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!

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