Nilesh G
Nilesh G

Reputation: 103

How to run Intellij project from command line

I have intellij java project which I run from IDE. When I run simple java command to run project I get error -  I

Can any one tell me what is issue here?

Thanks Nilesh

Upvotes: 0

Views: 108

Answers (1)

Pranav Anshul
Pranav Anshul

Reputation: 11

Please add the .java extension while running the javac command. Something like below:

                  javac ..... filename.java

Upvotes: 1

Related Questions