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 Perfecting the Prototype Parsing Integers

John Erickson
John Erickson
338 Points

Excuse me, my workspace file is not running at all---it still asks me for my name and is not exiting using System.exit

I have tried saving it and re running it a million times and I am not getting the results I should be getting. Please help--I am following all the instructions and it's not working. I put in the age conditional and the system.exit(0) and it's still asking for my name? I even erased that code and it's still asking for myi name and enter and adjective, etc. Thanks, please help!

Ken Alger
Ken Alger
Treehouse Teacher

John;

  1. Were you able to get this resolved?
  2. Can you add some additional information such as if you are doing this in Workspaces or on your local machine. If on Workspaces, have you tried closing your browser and restarting the project?
  3. Can you post your Java code on the forum so we can take a look? Please see this post on how to properly post your code.

Thanks and welcome to Treehouse.

Ken

Craig Dennis
Craig Dennis
Treehouse Teacher

Are you remembering to compile it using javac?

John Erickson
John Erickson
338 Points

Craig / Ken, thanks so much for your responses. I figured out what the problem was. By the way--I love TreeHouse. Great job Craig on a wonderful tutorial!