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 Perfecting the Prototype Parsing Integers

Kishore Kanagaraju
Kishore Kanagaraju
170 Points

I just keep getting the "Picked up JAVA_TOOL_OPTIONS: -Xmx128m"error

I'm not able to compile anything at all. Whenever I try to compile any codes, this is what I get. I'm not sure what to do as I can't compile any of the codes that I write or that's already there to get an output.

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hi Kishore Kanagaraju

That is not an error. If you have a look at the Teacher's Notes for the first video of the course, it explains that this is normal and cannot be changed.

As for your code not producing output, not all code produces output. Now, if your code is expected to output something, and it's not, then there is an error in your code.
In order for the Community to be able to assist you in troubleshooting coding error, you need to either share your code using Markdown or a snapshot of your workspace.

The Community looks forward to being able to help.

:)

:dizzy:

Kishore Kanagaraju
Kishore Kanagaraju
170 Points

Thank you so much. It was my bad, I got the error when I tried to compile it and I didn't try running the output after that compilation error. I just left it without running the output. Thanks for your suggestion. Glad it's working now.

Jonny Cleary
Jonny Cleary
Courses Plus Student 3,187 Points

This actually can be changed. You can get rid of this by entering the following into the Console:

unset JAVA_TOOL_OPTIONS

The caveat is that you have to do this every time you restart a workspace.