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

Keep getting an error every time I compile!!!

Okay so I just started this Tree house program, and write now I learned that in order to print on the console, you must first compile java. So first I typed my code which was

console.printf("Hello World");

then within console I typed:

javac Introductions.java

(THIS IS PRESENTS ME WITH)

Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m

What do I do?

1 Answer

gmilan
gmilan
9,287 Points

javac Introductions.java compiles the program. Next you type, java Introductions

to run the program