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

How to remove Picked up JAVA_TOOL_OPTIONS: -Xmx128m

After compiling the program, "Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m" would appear in the console. I tried to delete it in Windows Environment Variables, but I had no such luck. How can I remove them?

Did anyone have feedback on how to remove this "Picked up JAVA_TOOL_OPTIONS: -Xmx128m" ? I am having the same issue

michaelcodes
michaelcodes
5,604 Points

If you are compiling with the workspaces in treehouse this is not an error just indicates that those environment paths are set. You should be able to compile and run without issue still. This message is expected

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey there,

This cannot be deleted and is meant to be there. If you have a look at the Teacher's Notes for the first video of the course, Craig explains that this is part of the Java work environment in Workspaces, and is not an error and cannot be removed. It has to do partly with the upgrades and the memory allocation used in Workspaces.

:) :dizzy:

Thanks makes sense now.