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

Loyola Lauvoravit
Loyola Lauvoravit
235 Points

In workspace, can I get rid of lines like Picked up JAVA_TOOL_OPTIONS: -Xmx128m in between treehouse:~/workspace$ ?

treehouse:~/workspace$ javac Introductions.java
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
treehouse:~/workspace$ java Introductions

4 Answers

Jason Anders
Jason Anders
Treehouse Moderator 145,753 Points

Hi Loyola,

If you actually have a look at the notes under the video, there is a note from the Treehouse staff about this:

It's not an error!

Not to worry, the Picked up JAVA_TOOL_OPTIONS: -Xmx128m is not an error on your part, we recently just tweaked our setup to have more memory allocated. Don't fret that mine looks different!

So, it is meant to be there and cannot be removed.


Jennifer Over
Jennifer Over
1,217 Points

So I can ignore the lines. However my code is not printing either. Any suggestions or other steps I need to take with the recent tweaks you mentioned?

Robert Roberson
Robert Roberson
8,087 Points

Yes, but it is the only thing that I get. I don't get "My name is ..." Everything I put in comes out "Picked up JAVA_TOOL_OPTIONS: -Xmx128m" is that the way it is supposed to be?

Thanks for the quick comment Jason, i was having the same issue and stressing about what i was doing wrong, thank you!

So I am confused. Does this mean that the only thing we will see in workspace is: JAVA_TOOL_OPTIONS: -Xmx128m ? Like we will not see our strings print indefinitely?

Amulya Arora
Amulya Arora
6,133 Points

Sorry but you cant remove the lines...

Spacey Bread
Spacey Bread
5,228 Points

you can try using clear command to remove the lines but anyway the line aren't errors as said in the teacher's notes