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

adrian miranda
adrian miranda
12,806 Points

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