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 trialPushkal Sharma
779 Pointswhy we don't use ls?
as i see earlier in first video of that course that we use ls after javac Introductions but in this why we don't use that and please specify the purpose of ls
1 Answer
sradms0
Treehouse Project ReviewerThe purpose of leaving 'ls' out is likely up to the teacher. It would also be redundant to do. There isn't really a reason to use 'ls' unless you really wanted to make sure that java has created your .class file. But when you run 'java,' the virtual machine would tell you that there is no .class file if one wasn't made..I hope this makes sense.