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 trialSebastian Bernal
564 PointsI am trying to complete a loop but this error seems to be popping up. JavaTester.java:128: error: illegal start of expre
JavaTester.java:128: error: illegal start of expression } while(); ^ 1 error
1 Answer
Cody Hansen
5,517 PointsIt looks like you may be missing an opening { for that final }! Illegal start of expression error happens when your code doesn't follow the syntax of the language. Commonly due to missing a closing or opening bracket!
If you find this isn't the case, would you mind providing the rest of the code you used for the challenge question?