Yes, you need to install the Java Development Kit (JDK) before installing NetBeans.