How to configure Geany to run Java

You should configure the “Set Build Commands” under “Build”. This is where you specify the Java commands and execute commands.

Compile:

“C:\Program Files\Java\jdk1.8.0_45\bin\javac” “%d\%f”

Execute:

“C:\Program Files\Java\jdk1.8.0_45\bin\java” “-classpath” “%d” “%e”

Geany_configured_for_Java