Java Java Basics (2014) 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

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,863 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.