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 trialLearning IsEasy
Full Stack JavaScript Techdegree Student 550 PointsWhy and how is the instructor running Example.java without compiling the other file too?
I'm not able to run these files without compiling them both and running them both at the same time. I get many symbols not found
The instructor even said in a previous video that because Example.java requires symbols from the other file that it will automatically compile both for you. This is not how it's working for me. Not sure if my files are setup differently or if this video is old now or what
Thanks in advance
Learning IsEasy
Full Stack JavaScript Techdegree Student 550 PointsLearning IsEasy
Full Stack JavaScript Techdegree Student 550 PointsIt's just that good old symbol not found error for everything. I'm taking a break from this course for a short time to learn my fundamentals a bit more but the only way that I have ever been able to run these files is by doing:
javac *.java && java Main
Even in my IDE I have never been able to run a single class and it automatically detect the symbols from another class. That doesn't even make sense in my head :/