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 trialRandolph Davidson
1,117 Pointsjavac: File not found: introductions.java
Hello, I just starting using the intro to java course. I am following the video and have restarted it a number of times to see what I am doing wrong; however, I am still getting the message :
treehouse:~/workspace$ javac introductions.java
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
javac: file not found: introductions.java
Usage: javac <options> <source files>
use -help for a list of possible options
I am already confused as to what I am not doing right. Any ideas?
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! Remember that just about everything in programming is case-sensitive. This is all run on a Linux-based system in the console. Everything on a Linux system is case sensitive. The file Introductions.java
is a completely different file than introductions.java
. In the command you posted above you have introductions.java
which doesn't exist. Only Introductions.java
exists.
Try the command again with the correct capitalization.
Hope this helps!
Randolph Davidson
1,117 PointsRandolph Davidson
1,117 PointsHello and thank you for the quick reply. I just figured this same thing out lol. Thank you for the tip :)