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

aukevdg
aukevdg
9,931 Points

Unexpected 'Picked up'-lines on compile and on execute

Hi there,

I just jumped into this introductory course to Java and the very first assignment gave a different output on the Console than in the tutorial video.

On both compiling รกnd on executing the class, I get these errors: Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m

Can anyone tell me what's wrong? One thing that I spot is that the '=' character is turning red in my workplace / console, while in the video it remains grey. Was this a good syntax at the time of recording the video, but has it become obsolete or anything??

1 Answer

Check the teachers notes on the first video. they appear underneath the video player and address this specifically.

"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!"

https://teamtreehouse.com/library/introduction-to-your-tools

aukevdg
aukevdg
9,931 Points

Sorry about that - and thanks! :-)