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

Picked up JAVA_TOOL_OPTIONS: -Xmx128m?

import java.io.Console;

public class Introductions {

public static void main(String[] args) {
    Console console = System.console();
    // Welcome to the Introductions program!  Your code goes below here
  console.printf ("Hello, my name is Abhishek!");

} }

after executing these commands the result was:

treehouse:~/workspace$ java Introductions Picked up JAVA_TOOL_OPTIONS: -Xmx128m Picked up _JAVA_OPTIONS: -Xmx128m Hello, my name is Abhishek! treehouse:~/workspace$

I did not understand what the 'Picked up JAVA_TOOL_OPTIONS: -Xmx128m' meant, this sentence did not appear in my teachers workspace.

2 Answers

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Hi there! I received your request for assistance. Not to fear... this is not an error. It's just an informational message about some options set in the JVM about memory usage.

Here are a couple of posts by Treehouse staff where they elaborate on this:

Hope this helps! :sparkles:

Thank you so much Jennifer Nordell, your answer helped me!

Katie Ferencik
Katie Ferencik
1,775 Points

Is there any way to get it to stop doing this? Or is it something I'll have to deal with for forever while using Treehouse?