Do I need to install a JDK?

2) Java has a separate installation for development because it is a compiled language. You need a compiler and some supporting files and classes (that is, the JDK) to develop software. But you don’t need that to run Java programs, you just need the Java Runtime Environment.

Read more