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! While you're at it, check out some resources Treehouse students have shared here.

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

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
MOD
Jason Anders
Treehouse Moderator 145,858 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.

:dizzy:

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
Courses Plus Student 8,401 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
6,257 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