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!

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 trial

Java Java Basics Getting Started with Java Introduction to Your Tools

javac: 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
Jennifer Nordell
Treehouse Teacher

Hi 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! :sparkles:

Hello and thank you for the quick reply. I just figured this same thing out lol. Thank you for the tip :)