First of all, go to the directory where you have installed Notepad++ and create a new file called CompileJava.bat
then open it and enter these lines (without line numbers):
Code:
@echo off path=%path%;"<path to your BIN directory of JDK>" @echo on javac %1 java %2 pause
Leave a comment: