As I understand it there are three kinds of programming languages:
(1) Compiled languages, for which you first need to compile and then you can run the program.
(2) Scripting languages, for which you can run the program directly without needing to compile it first.
(3) Java, where you must compile but then after that you still cannot run the program.