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

Johan Cederschiöld
Johan Cederschiöld
5,708 Points

Where do I see the output of my code?

Hi,

I understand that the Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m is not an error message, but i don't see anything else. Where do I find the output of the code (the string I wrote).

Thanks :-)

Matthew Victor
Matthew Victor
1,782 Points

Can I see what your code looks like? Are you sure your are outputting something? ie. System.out.println

2 Answers

Hi! First of all you have to save everything. Ctr + S or watch very first video basic java. Then you have to compile it. If you are using workspace in browser. You have to tipe there in console. javac name of your class(Explore) dot java. Like this javac Explore.java Enter tipe java Explore. Then should come out the result of your code. See java basics first and second videos. Happy coding!

Johan Cederschiöld
Johan Cederschiöld
5,708 Points

Hi Guys, thanks for your answers . I think my problem was due to RTFM :-) I had missed a line in the initial instructions and when I followed the steps it worked fine. I was tired and probably a bit crosseyed when I did it the first few times :-) Thanks for your help.