Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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 :)