Java Java Basics Getting Started with Java Introduction to Your Tools

antonio neto
antonio neto
208 Points

bash: javac.introductions.java: command not found

when I type javac.introductions.java shows me a message... bash: javac.introductions.java: command not found how do I fix it ?

2 Answers

noob developer
noob developer
8,687 Points

hi, To run a program in java in workspaces u need to type : javac something.java && java something

something = the name of ur file.

if it helps u please mark as best answer

antonio neto
antonio neto
208 Points

thx, but already try that

Lauren Moineau
Lauren Moineau
6,189 Points

According to your post, your command is:

javac.introductions.java 

when the command should be:

javac Introductions.java

Hope that helps