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 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.