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

ronald goodwin
PLUS
ronald goodwin
Courses Plus Student 155 Points

Java basics error

I seen the thread this was answered in but it doesn't work for me. I get this everytime i try to run a code.

treehouse:~/workspace$ java Introductions
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m

How do I fix this.

Can you post a snapshot of your workspace?

Presley Cobb
Presley Cobb
971 Points

Make sure you are compiling your code. the java Introductions only runs your code it doesnt compile it. Try running:

clear && javac Introductions.java && java Introductions

1 Answer

Seth Kroger
Seth Kroger
56,413 Points

Since I was just asked to answer this: It's fine. Those messages are just informing you that some default settings on the compiler were altered for better performance in Workspaces. These were changed some time after the course was released which is why you don't see them in the video.