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 trialronald goodwin
Courses Plus Student 155 PointsJava 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.
Presley Cobb
971 PointsMake 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
56,413 PointsSince 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.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsCan you post a snapshot of your workspace?