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 trialJavier Reyna
976 PointsDoes the name file need to be written exactly the same (uppercase) in command javac ?
I mean, can I write the name file all with lowercase and have the same results?
2 Answers
Stone Preston
42,016 Pointsit really depends on the file system and the shell you are using
most file systems are case sensitive.
most bash environments are set to be case sensitive by default, so yes the case does matter when using bash (such as the treehouse workspace console).
I would generally assume that case does matter.
Mikael Enarsson
7,056 PointsShort answer, no, you can't, the names are case sensitive.
Slightly longer answer, it depends, in Windows lookups are case insensitive, it seems. Not on Linux though, so there you would have to take care.