-1

I'm trying to run this java program from the command prompt.

However, I go to the folder that holds Project3.java and try to compile, but it gives me

"javac: file not found: Project3.java."

I've already set the path to the jdk folder.

I tried both "set path=%path%;C:\Program Files\Java\jdk1.8.0_60\bin", word for word.

I've also went to change my environment variables and changed Path, appending the above directory. Neither are working.

Does anyone know how this can be fixed?

zangw
  • 43,869
  • 19
  • 177
  • 214
  • oh. nevermind, i was able to compile it by simply going into the src folder. Thank you very much for your help! – Garett Q. Feb 23 '16 at 03:22

1 Answers1

-1

The answer was simple. I just had to compile the program from the src folder. Going into the directory wasn't enough.