Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Java Basics Getting Started with Java Introduction to Your Tools

Teacher Russell
Teacher Russell
16,872 Points

Java tool options

I'm getting the 2 lines of response regarding the status of the compiler every time I run the code now. It didn't do this the other day. Strange?

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Teacher Russell! There actually isn't a problem It's not shown on Craig's workspace, but those "Java Tool option" messages you are getting are informational messages from the JVM about memory options set for the workspace. They have zero effect on your code. Take a look at this quote from the Teacher's Notes:

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!

But, when you want to reset a workspace (though I wouldn't advise it in this case), you can delete the workspace and when you click the "lauch workspace" button from the video it will recreate the workspace :smiley:

Hope this helps! :sparkles:

Teacher Russell
Teacher Russell
16,872 Points

I saw the quote, and wasn't surprised when it showed up after running javac command. I didn't remember it doing that after running the code each time, though. I'm getting the 2 lines every time, followed by my printf message. I guess I just didn't notice it. thank you. I had tried to fix it with a new workspace earlier, but no change:)