You must first install the Java Runtime Environment (JRE) to run Java applets in K-Meleon. Once installed, K-Meleon automatically detects your JRE installation and no other configuration is necessary.