krot

notepad++ java compile and run

Dec 11th, 2017
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. notepad++ plugin nppExec
  2. run F6:
  3. npp_save
  4. start.bat $(FILE_NAME) $(NAME_PART)
  5.  
  6. start.bat:
  7. @echo off
  8. set file=%1
  9. set class=%2
  10. javac %file%
  11. if errorlevel 1 (
  12.    echo Error: %errorlevel%
  13.    exit /b %errorlevel%
  14. )
  15. java %class%
RAW Paste Data