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 trialPedro Araya
1,912 PointsI have an error and I don't know what to do.
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
./com/teamtreehouse/Treet.java:12: error: cannot find symbol
mDescription = description;
^
symbol: variable mDescription
location: class Treet
./com/teamtreehouse/Treet.java:21: error: cannot find symbol
return mDescription;
^
symbol: variable mDescription
location: class Treet
2 errors
Gabe Olesen
1,606 PointsCan you paste all your code using Markdown?
Don't get much from this, sorry.
4 Answers
Roxanne Ryan
Courses Plus Student 5,089 PointsHere's a link to a stack overflow discussion that covers "cannot find symbol" error: https://stackoverflow.com/questions/25706216/what-does-a-cannot-find-symbol-compilation-error-mean
If you post your code, I'd be happy to see if I can help. :)
Kentessa Fanfair
11,261 PointsThere's not much to go with from your post but my guess is that you probably misspelt something in the declaration. Check and make sure that you declared the variable with an uppercase String or the variable identifier is actually mDescription
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 PointsYes . Kentessa Fanfair right. You may have misspell the variable name mDescription.
HImanshu Shukla
703 Pointsmake sure you have declared a String member in your class named mDescription.
Pedro Araya
1,912 PointsPedro Araya
1,912 PointsNo idea :/