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 trialAbhishek Patil
3,329 PointsPicked 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
Treehouse TeacherHi 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:
https://teamtreehouse.com/community/picked-up-java-tooloptions
https://teamtreehouse.com/community/picked-up-javatooloptions-xmx128m
Hope this helps!
Katie Ferencik
1,775 PointsIs 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?
Thanks!
Abhishek Patil
3,329 PointsAbhishek Patil
3,329 PointsThank you so much Jennifer Nordell, your answer helped me!