Java Java Basics Getting Started with Java Introduction to Your Tools

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

status 401
status 401
14,104 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

thx, but already try that

According to your post, your command is:

javac.introductions.java 

when the command should be:

javac Introductions.java

Hope that helps